IInternetProtocolSink::ReportResult (Windows Embedded CE 6.0)
1/6/2010
This method 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 Value
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
Header | urlmon.h, urlmon.idl |
Library | urlmon.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
IInternetProtocolSink
IInternetProtocol::LockRequest
IInternetProtocolRoot::Terminate