共用方式為


INTERNET_ASYNC_RESULT

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

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 the dwResult member indicates that the function failed. If the operation succeeded, this member usually contains ERROR_SUCCESS.

Remarks

The value of the dwResult member is determined by the value of the dwInternetStatus parameter of the status callback function. The following table shows the values of dwInternetStatus.

Value Description

INTERNET_STATUS_HANDLE_CREATED

Address of the HINTERNET handle.

INTERNET_STATUS_REQUEST_COMPLETE

Address of the HINTERNET handle.

Requirements

Header wininet.h
Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

INTERNET_STATUS_CALLBACK
WinInet Structures