IInternetProtocolRoot::Abort (Windows Embedded CE 6.0)
1/6/2010
This method cancels an operation that is in progress.
Syntax
HRESULT Abort(
HRESULT hrReason,
DWORD dwOptions
);
Parameters
- hrReason
[in] HRESULT value that contains the reason for canceling the operation. This is the HRESULT that is reported by the pluggable protocol if it successfully canceled the binding. The pluggable protocol passes this HRESULT to urlmon.dll using the IInternetProtocolSink::ReportResult method. Urlmon.dll then passes this HRESULT to the host using IBindStatusCallback::OnStopBinding.
- dwOptions
[in] Reserved.
Return Value
Returns one of the values shown in the following table.
Value | Description |
---|---|
S_OK |
Success. |
E_PENDING |
The operation started and will complete asynchronously. |
INET_E_xxx |
Internet-specific errors. For more information, see the URL Moniker Error Codes definitions. |
Requirements
Header | urlmon.h, urlmon.idl |
Library | urlmon.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
IInternetProtocolRoot
IBindStatusCallback::OnStopBinding
IInternetProtocolSink::ReportResult