ISearchProtocol Interface

Pethods for invoking, initializing, and managing IUrlAccessor Interface objects. The Filter Daemon calls methods from this interface when processing URLs from the search component.

Extends

The ISearchProtocol interface extends the IUnknown interface.

ISearchProtocol Methods

Name Description

CloseAccessor Method

Closes a previously created UrlAccessor object.

CreateAccessor Method

Creates and initializes an UrlAccessor object.

ISearch Protocol Init Method

Initializes the protocol handler.

Remarks

Methods in this interface are called by the Filter Daemon when processing URLs.

Example

interface ISearchProtocol : IUnknown
{
    HRESULT Init([in] TIMEOUT_INFO *pTimeoutInfo,
                 [in] IProtocolHandlerSite *pProtocolHandlerSite,
                 [in] PROXY_INFO *pProxyInfo);
    
    HRESULT CreateAccessor([in] LPCWSTR pcwszURL,
                           [in] AUTHENTICATION_INFO *pAuthenticationInfo,
                           [in] INCREMENTAL_ACCESS_INFO *pIncrementalAccessInfo,
                           [in] ITEM_INFO *pItemInfo,
                           [out] IUrlAccessor **ppAccessor);
                           
    HRESULT CloseAccessor([in] IUrlAccessor *pAccessor);
}

See Also

Concepts

Protocol Handler Reference
Protocol Handler Interfaces
IUrlAccessor Interface

Other Resources

IUnknown Interface