WLAN_CONNECTION_MODE enumeration (wlanapi.h)

The WLAN_CONNECTION_MODE enumerated type defines the mode of connection.Windows XP with SP3 and Wireless LAN API for Windows XP with SP2:  Only the wlan_connection_mode_profile value is supported.

Syntax

typedef enum _WLAN_CONNECTION_MODE {
  wlan_connection_mode_profile = 0,
  wlan_connection_mode_temporary_profile,
  wlan_connection_mode_discovery_secure,
  wlan_connection_mode_discovery_unsecure,
  wlan_connection_mode_auto,
  wlan_connection_mode_invalid
} WLAN_CONNECTION_MODE, *PWLAN_CONNECTION_MODE;

Constants

 
wlan_connection_mode_profile
Value: 0
A profile will be used to make the connection.
wlan_connection_mode_temporary_profile
A temporary profile will be used to make the connection.
wlan_connection_mode_discovery_secure
Secure discovery will be used to make the connection.
wlan_connection_mode_discovery_unsecure
Unsecure discovery will be used to make the connection.
wlan_connection_mode_auto
The connection is initiated by the wireless service automatically using a persistent profile.
wlan_connection_mode_invalid
Not used.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP3 [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header wlanapi.h
Redistributable Wireless LAN API for Windows XP with SP2

See also

WLAN_CONNECTION_ATTRIBUTES

WLAN_CONNECTION_NOTIFICATION_DATA

WLAN_CONNECTION_PARAMETERS