Condividi tramite


enumerazione WLAN_NOTIFICATION_MSM (wlanapi.h)

Il tipo enumerato WLAN_NOTIFICATION_MSM specifica i valori possibili del membro NotificationCode della struttura WLAN_NOTIFICATION_DATA per le notifiche msm (Media Specific Module).

Sintassi

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;

Osservazioni

Il tipo enumerato WLAN_NOTIFICATION_ACM viene usato dal modulo specifico del supporto, il nuovo componente di configurazione wireless supportato in Windows Vista e versioni successive.

Il WLAN_NOTIFICATION_MSM specifica i valori possibili per il membro NotificationCode della struttura WLAN_NOTIFICATION_DATA per le notifiche ricevute quando il membro NotificationSource della struttura WLAN_NOTIFICATION_DATA è WLAN_NOTIFICATION_SOURCE_MSM.

Il valore iniziale per l'enumerazione WLAN_NOTIFICATION_MSM viene definito come L2_NOTIFICATION_CODE_PUBLIC_BEGIN nel file di intestazione l2cmn.h . Si noti che l'intestazione l2cmn.h viene inclusa automaticamente dal file di intestazione wlanapi.h .

La funzione WlanRegisterNotification viene utilizzata da un'applicazione per registrare e annullare la registrazione delle notifiche su tutte le interfacce wireless. Quando si esegue la registrazione per le notifiche, un'applicazione deve fornire una funzione di callback a cui punta il parametro funcCallback passato alla funzione WlanRegisterNotification . Il prototipo per questa funzione di callback è il WLAN_NOTIFICATION_CALLBACK. Questa funzione di callback riceverà notifiche registrate nel parametro dwNotifSource passato alla funzione WlanRegisterNotification .

La funzione di callback viene chiamata con un puntatore a una struttura WLAN_NOTIFICATION_DATA come primo parametro che contiene informazioni dettagliate sulla notifica. La funzione di callback riceve anche un secondo parametro che contiene un puntatore al contesto client passato nel parametro pCallbackContext alla funzione WlanRegisterNotification . Questo contesto client può essere un puntatore NULL se questo è ciò che è stato passato alla funzione WlanRegisterNotification .

Requisiti

   
Client minimo supportato Windows 10 Build 20348
Server minimo supportato Windows 10 Build 20348
Intestazione wlanapi.h

Vedi anche

Informazioni sull'architettura di ACM

WLAN_MSM_NOTIFICATION_DATA

WLAN_NOTIFICATION_CALLBACK

WLAN_NOTIFICATION_DATA

WlanRegisterNotification