Partager via


WLAN_CONNECTION_NOTIFICATION_DATA (Compact 7)

3/12/2014

This structure contains information about connection-related notifications.

Syntax

typedef struct _WLAN_CONNECTION_NOTIFICATION_DATA {
  WLAN_CONNECTION_MODE wlanConnectionMode;
  WCHAR strProfileName[WLAN_MAX_NAME_LENGTH];
  DOT11_SSID dot11Ssid;
  DOT11_BSS_TYPE dot11BssType;
  BOOL bSecurityEnabled;
  WLAN_REASON_CODE wlanReasonCode;
  WCHAR strProfileXml[1];
} WLAN_CONNECTION_NOTIFICATION_DATA,
  *PWLAN_CONNECTION_NOTIFICATION_DATA;

Members

  • strProfileName
    The name of the profile used for the connection. WLAN_MAX_NAME_LENGTH is 256. Profile names are case-sensitive and the 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
  • bSecurityEnabled
    Indicates whether security is enabled for this connection. If TRUE, security is enabled.
  • wlanReasonCode
    A WLAN_REASON_CODE that indicates the reason for an operation failure. This field has a value of WLAN_REASON_CODE_SUCCESS for all connection-related notifications except wlan_notification_acm_connection_complete. If the connection fails, this field indicates the reason for the failure.
  • strProfileXml
    This field contains the XML presentation of the profile used for discovery, if the connection succeeds.

See Also

Reference

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