IInternetProtocolRoot::TerminateIInternetProtocolRoot::Terminate*
*Contents  *Index  *Topic Contents
*Previous Topic: IInternetProtocolRoot::Suspend
*Next Topic: IInternetProtocolSink::ReportData

IInternetProtocolRoot::Terminate

HRESULT Terminate(
    [in] DWORD dwOptions
);

Releases the resources used by the pluggable protocol handler.

dwOptions
Reserved. Must be set to zero.

Notes to implementers

Urlmon.dll will not call this method until your asynchronous pluggable protocol handler calls Urlmon.dll's 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.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.