Поделиться через


WLAN_INTERFACE_STATE (Compact 2013)

3/26/2014

This enumerated type indicates the state of an interface.

Syntax

typedef enum _WLAN_INTERFACE_STATE {
  wlan_interface_state_not_ready = 0,
  wlan_interface_state_connected = 1,
  wlan_interface_state_ad_hoc_network_formed = 2,
  wlan_interface_state_disconnecting = 3,
  wlan_interface_state_disconnected = 4,
  wlan_interface_state_associating = 5,
  wlan_interface_state_discovering = 6,
  wlan_interface_state_authenticating = 7,
} WLAN_INTERFACE_STATE,
  *PWLAN_INTERFACE_STATE;

Constants

  • wlan_interface_state_not_ready
    The interface is not ready to operate
  • wlan_interface_state_connected
    The interface is connected to a network
  • wlan_interface_state_ad_hoc_network_formed
    The interface is the first node in an ad hoc network. No peer has connected
  • wlan_interface_state_disconnecting
    The interface is disconnecting from the current network
  • wlan_interface_state_disconnected
    The interface is not connected to any network
  • wlan_interface_state_associating
    The interface is trying to associate with a network
  • wlan_interface_state_discovering
    Auto configuration is discovering the settings for the network
  • wlan_interface_state_authenticating
    The interface is authenticating

See Also

Reference

Native Wi-Fi Enumerations
WLAN_CONNECTION_ATTRIBUTES
WLAN_INTERFACE_INFO
WlanQueryInterface
Native Wi-Fi Reference