IInternetProtocolSink::ReportResult (Windows CE 5.0)
This method reports the result of the operation when called on any thread.
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.
Remarks
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.
See Also
IInternetProtocol::LockRequest | IInternetProtocolRoot::Terminate | IInternetProtocolSink
Send Feedback on this topic to the authors