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 |
|
|
|
|
The Abort method aborts a WinHTTP Send method.
HRESULT Abort();
This method has no parameters.
The return value is S_OK on success or an error value otherwise.
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.
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 |
|
Library |
|
DLL |
|