Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The WINHTTP_ASYNC_RESULT structure contains the result of a call to an asynchronous function. This structure is used with the WINHTTP_STATUS_CALLBACK prototype.
Syntax
typedef struct _WINHTTP_ASYNC_RESULT {
  DWORD_PTR dwResult;
  DWORD     dwError;
} WINHTTP_ASYNC_RESULT, *LPWINHTTP_ASYNC_RESULT, *PWINHTTP_ASYNC_RESULT;
Members
dwResult
Return value from an asynchronous Microsoft Windows HTTP Services (WinHTTP) function. This member can be one of the following values:
| Value | Meaning | 
|---|---|
| 
 | The error occurred during a call to WinHttpReceiveResponse. | 
| 
 | The error occurred during a call to WinHttpQueryDataAvailable. | 
| 
 | The error occurred during a call to WinHttpReadData. | 
| 
 | The error occurred during a call to WinHttpWriteData. | 
| 
 | The error occurred during a call to WinHttpSendRequest. | 
| 
 | The error occurred during a call to WinHttpGetProxyForUrlEx. | 
dwError
Contains the error code if dwResult indicates that the function failed.
Remarks
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] | 
| Header | winhttp.h | 
| Redistributable | WinHTTP 5.0 and Internet Explorer 5.01 or later on Windows XP and Windows 2000. |