Collapse the table of content
Expand the table of content

ISearch Protocol Init Method

SharePoint 2007

Initializes a protocol handler.

TIMEOUT_INFO* pTimeoutInfo,
IProtocolHandlerSite* pProtocolHandlerSite,
PROXY_INFO* pProxyInfo



[in] Pointer to a TIMEOUT_INFO Structure structure that contains information about connection time-outs.


[in] Pointer to an IProtocolHandlerSite Interface interface that provides a way for a protocol handler implementation to access Filter objects.


[in] Pointer to a PROXY_INFO Structure structure that contains information about the proxy settings necessary for accessing items in the content source.

If successful, returns S_OK; otherwise returns an error value. For a list of error messages returned by Enterprise Search in Microsoft Office SharePoint Server 2007, see Protocol Handler Error Messages.

After the protocol handler is created, this method is called in order to perform any initialization specific to the protocol handler. This method is not called again.

Because the Filter Daemon may unexpectedly terminate, protocol handlers with persistent information, such as temporary files and registry entries, should do an initial clean up in this method before starting the current instance.

Community Additions

© 2015 Microsoft