Partager via


WLAN_MSM_NOTIFICATION_DATA (Compact 2013)

3/26/2014

This structure contains information about media specific module (MSM) connection-related notifications.

Syntax

typedef struct _WLAN_MSM_NOTIFICATION_DATA {
  WLAN_CONNECTION_MODE wlanConnectionMode;
  WCHAR strProfileName[WLAN_MAX_NAME_LENGTH];
  DOT11_SSID dot11Ssid;
  DOT11_BSS_TYPE dot11BssType;
  DOT11_MAC_ADDRESS
  dot11MacAddr;
  BOOL bSecurityEnabled;
  BOOL bFirstPeer;
  BOOL bLastPeer;
  WLAN_REASON_CODE wlanReasonCode;
} WLAN_MSM_NOTIFICATION_DATA,
  *PWLAN_MSM_NOTIFICATION_DATA;

Members

  • strProfileName
    The name of the profile used for the connection. WLAN_MAX_NAME_LENGTH is 256. Profile names are case-sensitive. This string must be NULL-terminated.
  • dot11Ssid
    A DOT11_SSID structure that contains the SSID of the association
  • dot11BssType
    A DOT11_BSS_TYPE value that indicates the BSS network type
  • dot11MacAddr
    A DOT11_MAC_ADDRESS that specifies the MAC address of the peer or access point
  • bSecurityEnabled
    Indicates whether security is enabled for this connection. If TRUE, security is enabled
  • bFirstPeer
    Indicates whether the peer is the first to join the ad hoc network created by the computer. If TRUE, the peer is the first to join.

    After the first peer joins the network, the interface state of the computer that created the ad hoc network changes from wlan_interface_state_ad_hoc_network_formed to wlan_interface_state_connected.

  • bLastPeer
    Indicates whether the peer is the last to leave the ad hoc network created by the computer. If TRUE, the peer is the last to leave. After the last peer leaves the network, the interface state of the computer that created the ad hoc network changes from wlan_interface_state_connected to wlan_interface_state_ad_hoc_network_formed.
  • wlanReasonCode
    A WLAN_REASON_CODE that indicates the reason for an operation failure. If the operation succeeds, this field has a value of WLAN_REASON_CODE_SUCCESS. Otherwise, this field indicates the reason for the failure.

See Also

Reference

Native Wi-Fi Structures
WLAN_CONNECTION_MODE
DOT11_SSID
DOT11_BSS_TYPE
DOT11_MAC_ADDRESS
WLAN_REASON_CODE
WLAN_NOTIFICATION_DATA
Native Wi-Fi Reference