Click to return to the Networking, Protocols     
IInternetProtocolRoot::Su...     IInternetProtocolSink Int...     IInternetProtocolRoot Int...    
Web Workshop  |  Networking, Protocols & Data Formats

IInternetProtocolRoot::Terminate 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 code 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.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

IInternetProtocolRoot



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.