Share via


IInternetProtocolRoot::Abort (Windows CE 5.0)

Send Feedback

This method cancels an operation that is in progress.

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.

See Also

IBindStatusCallback::OnStopBinding | IInternetProtocolSink::ReportResult

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.