IInternetProtocolRoot::Terminate (Windows CE 5.0)
This method releases the resources used by the pluggable protocol handler.
HRESULT Terminate(DWORD dwOptions);
Parameters
- dwOptions
[in] Reserved. Must be set to zero.
Return Values
Returns S_OK if successful or an error value otherwise.
Remarks
Notes 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 it has allocated.
Notes 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.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.
See Also
IInternetProtocol::LockRequest | IInternetProtocolSink::ReportResult
Send Feedback on this topic to the authors