Skip to content

Latest commit

 

History

History
83 lines (48 loc) · 1.98 KB

iwinhttprequest-abort.md

File metadata and controls

83 lines (48 loc) · 1.98 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
The Abort method aborts a WinHTTP Send method.
8326feef-8611-4441-b52d-74855e6acfff
IWinHttpRequest::Abort method
reference
05/31/2018
APIRef
kbSyntax
IWinHttpRequest.Abort
WinHttpRequest.Abort
COM
Winhttp.dll

IWinHttpRequest::Abort method

The Abort method aborts a WinHTTP Send method.

Syntax

HRESULT Abort();

Parameters

This method has no parameters.

Return value

The return value is S_OK on success or an error value otherwise.

Remarks

You can abort both asynchronous and synchronous Send methods. To abort a synchronous Send method, you must call Abort from within an IWinHttpRequestEvents event.

Note

For Windows XP and Windows 2000, see the Run-Time Requirements section of the WinHttp start page.

Requirements

Requirement Value
Minimum supported client
Windows XP, Windows 2000 Professional with SP3 [desktop apps only]
Minimum supported server
Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]
Redistributable
WinHTTP 5.0 and Internet Explorer 5.01 or later on Windows XP and Windows 2000.
IDL
HttpRequest.idl
Library
Winhttp.lib
DLL
Winhttp.dll

See also

IWinHttpRequest

WinHttpRequest

WinHTTP Versions