WLAN_CONNECTION_ATTRIBUTES structure

The WLAN_CONNECTION_ATTRIBUTES structure defines the attributes of a wireless connection.

Syntax

typedef struct _WLAN_CONNECTION_ATTRIBUTES {
  WLAN_INTERFACE_STATE        isState;
  WLAN_CONNECTION_MODE        wlanConnectionMode;
  WCHAR                       strProfileName[WLAN_MAX_NAME_LENGTH];
  WLAN_ASSOCIATION_ATTRIBUTES wlanAssociationAttributes;
  WLAN_SECURITY_ATTRIBUTES    wlanSecurityAttributes;
} WLAN_CONNECTION_ATTRIBUTES, *PWLAN_CONNECTION_ATTRIBUTES;

Members

isState

A WLAN_INTERFACE_STATE value that indicates the state of the interface.

Windows XP with SP3 and Wireless LAN API for Windows XP with SP2:  Only the wlan_interface_state_connected, wlan_interface_state_disconnected, and wlan_interface_state_authenticating values are supported.

wlanConnectionMode

A WLAN_CONNECTION_MODE value that indicates the mode of the connection.

Windows XP with SP3 and Wireless LAN API for Windows XP with SP2:  Only the wlan_connection_mode_profile value is supported.

strProfileName

The name of the profile used for the connection. Profile names are case-sensitive. This string must be NULL-terminated.

wlanAssociationAttributes

A WLAN_ASSOCIATION_ATTRIBUTES structure that contains the attributes of the association.

wlanSecurityAttributes

A WLAN_SECURITY_ATTRIBUTES structure that contains the security attributes of the connection.

Requirements

   
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

WlanQueryInterface