ISearchProtocol::ShutDown Method
Shuts down the protocol handler.
Syntax
HRESULT ShutDown(VOID);
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
This method is called by the Protocol Host to allow the protocol handler an opportunity to clean up and release any associated resources.
The Protocol Host makes one call to this method before it exits. Once this method is called, this instance will not be used any more. However, it is also possible for the Protocol Host process to terminate abruptly without calling this method. Protocol handlers that have persisted global states, such as registry entries and temporary files, should verify that those resources are cleaned up in the ISearchProtocol::Init method before initialization.