|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
This method releases the resources used by the pluggable protocol handler.
HRESULT Terminate( DWORD dwOptions );
[in] Reserved. Must be set to zero.
Returns S_OK if successful or an error value otherwise.
Notes to implementers
Urlmon.dll will not call this method until your asynchronous pluggable protocol handler calls the Urlmon.dll IInternetProtocolSink::ReportResultmethod. When your IInternetProtocolRoot::Terminatemethod is called, your asynchronous pluggable protocol handler should free all resources it has allocated.
Notes to callers
This method should be called after receiving a call to your IInternetProtocolSink::ReportResultmethod and after the protocol handler's IInternetProtocol::LockRequestmethod has been called.
|Windows Embedded CE||Windows CE .NET 4.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|