Compartilhar via


INTERNET_CONNECTED_INFO

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains the information to set the global online/offline state.

Syntax

typedef struct {
  DWORD dwConnectedState;
  DWORD dwFlags;
} INTERNET_CONNECTED_INFO, *LPINTERNET_CONNECTED_INFO;

Members

  • dwConnectedState
    Unsigned long integer value that contains the state information. The following table shows the possible values.

    Value Description

    INTERNET_STATE_CONNECTED

    Connected to network. Replaces INTERNET_STATE_ONLINE.

    INTERNET_STATE_DISCONNECTED

    Disconnected from network. Replaces INTERNET_STATE_OFFLINE.

    INTERNET_STATE_DISCONNECTED_BY_USER

    Disconnected by user request. Replaces INTERNET_STATE_OFFLINE_USER.

    INTERNET_STATE_IDLE

    No network requests are being made by Microsoft Win32 Internet functions.

    INTERNET_STATE_BUSY

    Network requests are being made by the Win32 Internet functions.

  • dwFlags
    Unsigned long integer value that controls the transition between states. This can be ISO_FORCE_DISCONNECTED, which puts Win32 Internet functions into offline mode. All outstanding requests will be aborted with a canceled error.

Requirements

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

See Also

Reference

WinInet Structures