IInternetProtocolSink::ReportResultIInternetProtocolSink::ReportResult*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IInternetProtocolSink::ReportProgress
*Next Topic: IInternetProtocolSink::Switch

IInternetProtocolSink::ReportResult

HRESULT ReportResult(
    [in] HRESULT hrResult,
    [in] DWORD dwError,
    [in] LPCWSTR szResult
);

Reports the result of the operation when called on any thread.

hrResult
HRESULT value that indicates the result returned by the operation.
dwError
Unsigned long integer value that is a protocol-specific code.
szResult
Protocol-specific result string that should be NULL if the operation succeeded.

Notes to implementers

After your IInternetProtocolSink::ReportResult method is called, your application should call the protocol handler's IInternetProtocol::LockRequest method to lock the resource you are reading from the protocol handler. Then your application should call the protocol handler's IInternetProtocolRoot::Terminate method.

Notes to callers

The call to IInternetProtocolSink::ReportResult is the last call that your pluggable protocol handler must make to the client application's IInternetProtocolSink interface.


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