IInternetProtocolSink::ReportResult
Reports the result of the operation when called on any thread.
Syntax
HRESULT ReportResult(
HRESULT hrResult,
DWORD dwError,
LPCWSTR szResult
);
Parameters
- hrResult
[in] HRESULT value that indicates the result returned by the operation. - dwError
[in] Unsigned long integer value that is a protocol-specific code. - szResult
[in] Protocol-specific result string that should be NULL if the operation succeeded.
Return Values
Returns S_OK if successful, or E_FAIL if called in the wrong sequence.
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.
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
Send Feedback on this topic to the authors