Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Releases the resources used by the pluggable protocol handler.
HRESULT retVal = object.Terminate(dwOptions);
dwOptions [in]
Type: DWORD
Reserved. Must be set to 0.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Note to implementers
Urlmon.dll will not call this method until your asynchronous pluggable protocol handler calls the Urlmon.dll IInternetProtocolSink::ReportResult method. When your IInternetProtocolRoot::Terminate method is called, your asynchronous pluggable protocol handler should free all resources that it has allocated.
Note to callers
This method should be called after receiving a call to your IInternetProtocolSink::ReportResult method and after the protocol handler's IInternetProtocol::LockRequest method has been called.
Please sign in to use this experience.
Sign in