Releases the resources used by the pluggable protocol handler.
HRESULT retVal = object.Terminate(dwOptions);
Reserved. Must be set to 0.
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