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. This can be one of the following values:
- 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 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.
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 4.0
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0