HttpCancelHttpRequest function
The HttpCancelHttpRequest function cancels a specified reqest.
Syntax
ULONG HttpCancelHttpRequest( _In_ HANDLE ReqQueueHandle, _In_ HTTP_REQUEST_ID RequestId, _In_opt_ LPOVERLAPPED pOverlapped );
Parameters
- ReqQueueHandle [in]
-
A handle to the request queue from which the request came.
- RequestId [in]
-
The ID of the request to be canceled.
- pOverlapped [in, optional]
-
For asynchronous calls, set pOverlapped to point to an OVERLAPPED structure; for synchronous calls, set it to NULL.
Return value
If the function succeeds, it returns NO_ERROR.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Show: