Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This structure contains the information to set the global online/offline state.
typedef struct {DWORDdwConnectedState;DWORDdwFlags;} 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
OS Versions: Windows CE .NET 4.0 and later.
Header: Wininet.h.
See Also
Send Feedback on this topic to the authors