WLAN_CONNECTION_ATTRIBUTES structure
Applies to: desktop apps only
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[256];
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.
Examples
This structure is used in the Native Wifi API Sample.
Requirements
|
Minimum supported client | Windows Vista, Windows XP with SP3 |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Redistributable | Wireless LAN API for Windows XP with SP2 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012