Contains the result of a call to an asynchronous function. This structure is used with INTERNET_STATUS_CALLBACK.
Syntax
typedef struct { DWORD dwResult; DWORD dwError; } INTERNET_ASYNC_RESULT, * LPINTERNET_ASYNC_RESULT;
Members
- dwResult
- Unsigned long integer value that references an HINTERNET handle, unsigned long integer, or Boolean return code from an asynchronous function.
- dwError
- Unsigned long integer value that contains the error message 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 the dwInternetStatus of the status callback function.
Value of dwInternetStatus Value of dwResult INTERNET_STATUS_HANDLE_CREATED Address of the HINTERNET handle INTERNET_STATUS_REQUEST_COMPLETE Address of the HINTERNET handle
Structure Information
Windows NT Use version 4.0. Implemented only as an ANSI structure. Windows Use Windows 95 and later. Implemented only as an ANSI structure. Header Wininet.h Minimum availability Internet Explorer 3.0
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
Microsoft Win32 Internet Functions Overview, Utilizing the Win32 Internet Functions Asynchronously, Microsoft Win32 Internet Functions Reference, INTERNET_STATUS_CALLBACK, Microsoft Win32 Internet Functions Tutorials, Calling Win32 Functions Asynchronously