ISearchProtocol2 Interface

Provides methods for invoking, initializing, and managing IUrlAccessor objects. Methods in this interface are called by the Protocol Host when processing URLs from the Gatherer. Methods of this interface must be implemented in C++.

The protocol handler implements the protocol for accessing a content source in its native format. Use this interface to implement a custom protocol handler to expand the data sources that can be indexed.

ISearchProtocol2 Members

CloseAccessor Closes a previously created IUrlAccessor object.
CreateAccessor Creates and initializes an IUrlAccessor object.
CreateAccessorEx Creates and initializes an IUrlAccessor object. This method has the same basic functionality as the CreateAccessor method, but it includes an additional pUserData parameter to supply additional data to the protocol handler.
Init Initializes a protocol handler.
ShutDown Shuts down the protocol handler.

Interface Information

Inherits from ISearchProtocol
Header and IDL files searchapi.h, srchprth.idl
Minimum operating systems Windows XP Service Pack 2 (SP2) with Windows Desktop Search (WDS) 3.0, Windows Server 2003, Windows Vista