Share via


ShutDown Method

The Shutdown method is called by the Filter Daemon to allow the protocol handler an opportunity to clean up and release any associated resources.

Syntax
HRESULT ShutDown();
Parameters

None.

Return Value

For a list of error messages returned by SharePoint Portal Server Protocol Handlers, see Error Messages.

Remarks

The Filter Daemon makes one call to Shutdown before it exits. Once Shutdown is called, this instance won't be used any more. However, it is also possible for the Filter Daemon process to terminate abruptly without calling Shutdown. Protocol handlers that have persisted global state such as registry entries and temporary files, should verify that those resources are cleaned up in the Init method before initialization.

Examples

To see this method in a fuller context, see Protocol Handler Sample.