Click to return to the Networking, Protocols     
HTTP_VERSION_INFO Structu...     INTERNET_AUTH_NOTIFY_DATA...     Win32 Internet API Struct...    
Web Workshop  |  Networking, Protocols & Data Formats

INTERNET_ASYNC_RESULT Structure


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



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.