Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

INTERNET_ASYNC_RESULT structure

Contains the result of a call to an asynchronous function. This structure is used with InternetStatusCallback.

Syntax


typedef struct {
  DWORD_PTR dwResult;
  DWORD     dwError;
} INTERNET_ASYNC_RESULT, * LPINTERNET_ASYNC_RESULT;

Members

dwResult

Result. This parameter can be an HINTERNET handle, unsigned long integer, or Boolean return code from an asynchronous function.

dwError

Error code, if dwResult indicates that the function failed. If the operation succeeded, this member usually contains ERROR_SUCCESS.

Remarks

The value of dwResult is determined by the value of dwInternetStatus in the status callback function.

Value of dwInternetStatusValue of dwResult
INTERNET_STATUS_HANDLE_CREATEDPointer to the HINTERNET handle
INTERNET_STATUS_REQUEST_COMPLETEBoolean return code from the asynchronous function.

 

Note  WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wininet.h

See also

Asynchronous Operation

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.