Microsoft Windows CE 3.0  

INTERNET_ASYNC_RESULT

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This structure contains the result of a call to an asynchronous function. This structure is used with the INTERNET_STATUS_CALLBACK structure.

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

Members

dwResult
Unsigned long integer value that references an HINTERNEThandle, unsigned long integer, or Boolean return code from an asynchronous function.
dwError
Unsigned long integer value that contains the error message if the dwResultmember indicates that the function failed. If the operation succeeded, this member usually contains ERROR_SUCCESS.

Remarks

The value of the dwResultmember is determined by the value of the dwInternetStatusparameter of the status callback function.

Value of dwInternetStatus Value of dwResult
INTERNET_STATUS_HANDLE_CREATED Address of the HINTERNEThandle.
INTERNET_STATUS_REQUEST_COMPLETE Address of the HINTERNEThandle.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.12 and later Wininet.h   Wininet.lib

See Also

HINTERNET, INTERNET_STATUS_CALLBACK