Export (0) Print
Expand All

ISearchProtocolThreadContext interface

This optional interface enables the protocol handler to perform an action on the thread used for filtering in the protocol host. When the protocol host starts, it first initializes all the protocol handlers, and then it creates the filtering thread(s). The methods on this interface enable protocol handlers to manage their resources that are used by a filtering thread.

Members

The ISearchProtocolThreadContext interface inherits from the IUnknown interface. ISearchProtocolThreadContext also has these types of members:

Methods

The ISearchProtocolThreadContext interface has these methods.

MethodDescription
ThreadIdle

Notifies the protocol handler that the filtering thread is idle, so that the protocol handler can clean up any cache it might have built up.

ThreadInit

Initializes communication between the protocol handler and the protocol host.

ThreadShutdown

Notifies the protocol handler that the thread is being shut down.

 

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Searchapi.h

IDL

Urlacc.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft