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.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also