Share via


WLAN_NOTIFICATION_ACM 列挙 (wlanapi.h)

WLAN_NOTIFICATION_ACM列挙型は、自動構成モジュール (ACM) 通知のWLAN_NOTIFICATION_DATA構造体の NotificationCode メンバーの使用可能な値を指定します。

構文

typedef enum _WLAN_NOTIFICATION_ACM {
  wlan_notification_acm_start,
  wlan_notification_acm_autoconf_enabled,
  wlan_notification_acm_autoconf_disabled,
  wlan_notification_acm_background_scan_enabled,
  wlan_notification_acm_background_scan_disabled,
  wlan_notification_acm_bss_type_change,
  wlan_notification_acm_power_setting_change,
  wlan_notification_acm_scan_complete,
  wlan_notification_acm_scan_fail,
  wlan_notification_acm_connection_start,
  wlan_notification_acm_connection_complete,
  wlan_notification_acm_connection_attempt_fail,
  wlan_notification_acm_filter_list_change,
  wlan_notification_acm_interface_arrival,
  wlan_notification_acm_interface_removal,
  wlan_notification_acm_profile_change,
  wlan_notification_acm_profile_name_change,
  wlan_notification_acm_profiles_exhausted,
  wlan_notification_acm_network_not_available,
  wlan_notification_acm_network_available,
  wlan_notification_acm_disconnecting,
  wlan_notification_acm_disconnected,
  wlan_notification_acm_adhoc_network_state_change,
  wlan_notification_acm_profile_unblocked,
  wlan_notification_acm_screen_power_change,
  wlan_notification_acm_profile_blocked,
  wlan_notification_acm_scan_list_refresh,
  wlan_notification_acm_operational_state_change,
  wlan_notification_acm_end
} WLAN_NOTIFICATION_ACM, *PWLAN_NOTIFICATION_ACM;

注釈

WLAN_NOTIFICATION_ACM列挙型は、Windows Vista 以降でサポートされている新しいワイヤレス構成コンポーネントである自動構成モジュールで使用されます。

WLAN_NOTIFICATION_ACMは、WLAN_NOTIFICATION_DATA構造体の NotificationSource メンバーがWLAN_NOTIFICATION_SOURCE_ACMされたときに受信した通知に対して、WLAN_NOTIFICATION_DATA構造体の NotificationCode メンバーに使用できる値を指定します。

WLAN_NOTIFICATION_ACM列挙体の開始値は、l2cmn.h ヘッダー ファイルでL2_NOTIFICATION_CODE_V2_BEGINとして定義されます。 l2cmn.h ヘッダーは wlanapi.h ヘッダー ファイルによって自動的に含まれることに注意してください。

WlanRegisterNotification 関数は、すべてのワイヤレス インターフェイスで通知を登録および登録解除するためにアプリケーションによって使用されます。 通知に登録する場合、アプリケーションは WlanRegisterNotification 関数に渡される funcCallback パラメーターによって指されるコールバック関数を提供する必要があります。 このコールバック関数のプロトタイプは 、WLAN_NOTIFICATION_CALLBACKです。 このコールバック関数は、WlanRegisterNotification 関数に渡される dwNotifSource パラメーターに登録されている通知を受け取ります。

コールバック関数は、通知に関する詳細情報を含む最初のパラメーターとして 、WLAN_NOTIFICATION_DATA 構造体へのポインターを使用して呼び出されます。 コールバック関数は、 pCallbackContext パラメーターで WlanRegisterNotification 関数に渡されるクライアント コンテキストへのポインターを含む 2 番目のパラメーターも受け取ります。 このクライアント コンテキストは、WlanRegisterNotification 関数に渡されたポインターである場合は NULL ポインターにすることができます。

WINDOWS XP SP3 とワイヤレス LAN API for Windows XP SP2: wlan_notification_acm_connection_complete通知とwlan_notification_acm_disconnected通知のみを使用できます。

要件

要件
サポートされている最小のクライアント Windows 10 ビルド 20348
サポートされている最小のサーバー Windows 10 ビルド 20348
Header wlanapi.h

こちらもご覧ください

ACM アーキテクチャについて

DOT11_BSS_TYPE

WLAN_ADHOC_NETWORK_STATE

WLAN_CONNECTION_NOTIFICATION_DATA

WLAN_NOTIFICATION_CALLBACK

WLAN_NOTIFICATION_DATA

WLAN_POWER_SETTING

WlanGetFilterList

WlanGetProfile

WlanGetProfileList

WlanSetFilterList