WLAN_NOTIFICATION_MSM enumeration (wlanapi.h)

The WLAN_NOTIFICATION_MSM enumerated type specifies the possible values of the NotificationCode member of the WLAN_NOTIFICATION_DATA structure for Media Specific Module (MSM) notifications.

Syntax

typedef enum _WLAN_NOTIFICATION_MSM {
  wlan_notification_msm_start,
  wlan_notification_msm_associating,
  wlan_notification_msm_associated,
  wlan_notification_msm_authenticating,
  wlan_notification_msm_connected,
  wlan_notification_msm_roaming_start,
  wlan_notification_msm_roaming_end,
  wlan_notification_msm_radio_state_change,
  wlan_notification_msm_signal_quality_change,
  wlan_notification_msm_disassociating,
  wlan_notification_msm_disconnected,
  wlan_notification_msm_peer_join,
  wlan_notification_msm_peer_leave,
  wlan_notification_msm_adapter_removal,
  wlan_notification_msm_adapter_operation_mode_change,
  wlan_notification_msm_link_degraded,
  wlan_notification_msm_link_improved,
  wlan_notification_msm_end
} WLAN_NOTIFICATION_MSM, *PWLAN_NOTIFICATION_MSM;

Remarks

The WLAN_NOTIFICATION_ACM enumerated type is used by the Media Specific Module, the new wireless configuration component supported on Windows Vista and later.

The WLAN_NOTIFICATION_MSM specifies the possible values for the NotificationCode member of the WLAN_NOTIFICATION_DATA structure for received notifications when the NotificationSource member of the WLAN_NOTIFICATION_DATA structure is WLAN_NOTIFICATION_SOURCE_MSM.

The starting value for the WLAN_NOTIFICATION_MSM enumeration is defined as L2_NOTIFICATION_CODE_PUBLIC_BEGIN in the l2cmn.h header file. Note that the l2cmn.h header is automatically included by the wlanapi.h header file.

The WlanRegisterNotification function is used by an application to register and unregister notifications on all wireless interfaces. When registering for notifications, an application must provide a callback function pointed to by the funcCallback parameter passed to the WlanRegisterNotification function. The prototype for this callback function is the WLAN_NOTIFICATION_CALLBACK. This callback function will receive notifications that have been registered in the dwNotifSource parameter passed to the WlanRegisterNotification function.

The callback function is called with a pointer to a WLAN_NOTIFICATION_DATA structure as the first parameter that contains detailed information on the notification. The callback function also receives a second parameter that contains a pointer to the client context passed in the pCallbackContext parameter to the WlanRegisterNotification function. This client context can be a NULL pointer if that is what was passed to the WlanRegisterNotification function.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header wlanapi.h

See also

About the ACM Architecture

WLAN_MSM_NOTIFICATION_DATA

WLAN_NOTIFICATION_CALLBACK

WLAN_NOTIFICATION_DATA

WlanRegisterNotification