Share via


IInternetProtocolRoot::Abort

Send Feedback

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 Values

Returns one of the following values:

  • S_OK
    Success.
  • E_PENDING
    The operation started and will complete asynchronously.
  • INET_E_xxx
    Internet-specific errors. For additional information, see the URL Moniker Error Codes definitions on Microsoft® MSDN® Online.

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: urlmon.h
Library: urlmon.lib

See Also

IInternetProtocolRoot

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.