Share via


IInternetProtocolRoot::Terminate (Windows Embedded CE 6.0)

1/6/2010

This method releases the resources used by the pluggable protocol handler.

Syntax

HRESULT Terminate(
  DWORD dwOptions
);

Parameters

  • dwOptions
    [in] Reserved. Must be set to zero.

Return Value

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

Header urlmon.h, urlmon.idl
Library urlmon.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IInternetProtocolRoot
IInternetProtocol::LockRequest
IInternetProtocolSink::ReportResult