Important  The Native 802.11 Wireless LAN interface is deprecated in Windows 10 and later. Please use the WLAN Device Driver Interface (WDI) instead. For more information about WDI, see WLAN Universal Windows driver model.
The DOT11_ASSOCIATION_STATE enumeration defines the authentication and association state of an 802.11 station.


typedef enum _DOT11_ASSOCIATION_STATE {
  dot11_assoc_state_zero            = 0,
  dot11_assoc_state_unauth_unassoc  = 1,
  dot11_assoc_state_auth_unassoc    = 2,
  dot11_assoc_state_auth_assoc      = 3


dot11_assoc_state_zero The association state is undefined.
dot11_assoc_state_unauth_unassoc The 802.11 station is unauthenticated with the peer and is not associated.
dot11_assoc_state_auth_unassoc The 802.11 station is authenticated with the peer but is not associated.
dot11_assoc_state_auth_assoc The 802.11 station is authenticated and associated with the peer.


Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header windot11.h (include Ndis.h)