ISearchProtocolThreadContext::ThreadShutdown Method
Notifies the protocol handler that the thread is being shut down.
Syntax
HRESULT ThreadShutdown(VOID);
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
When the protocol host is shut down, it calls this method as the last operation before terminating the filtering thread. Depending on the protocol handler, there might be some per-thread context, such as a logon session, that the protocol handler needs to clean up.