Share via


IInternetProtocolRoot::Terminate

Send Feedback

Releases the resources used by the pluggable protocol handler.

Syntax

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.

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

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: urlmon.h
Library: urlmon.lib

See Also

IInternetProtocolRoot

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.