Click to return to the Networking, Protocols     
INTERNET_CERTIFICATE_INFO...     INTERNET_PER_CONN_OPTION ...     Win32 Internet API Struct...    
Web Workshop  |  Networking, Protocols & Data Formats

INTERNET_CONNECTED_INFO 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. 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


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.