ONEX_NOTIFICATION_TYPE
列挙型メンバー 5
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| OneXPublicNotificationBase | 0 | 0x0 | 802.1X 通知が取り得る値を示す範囲の開始を示します。 |
| OneXNotificationTypeResultUpdate | 1 | 0x1 | 802.1X 認証の状態が変化したことを示します。 WLAN_NOTIFICATION_DATA 構造体の pData メンバーは、802.1X の更新データを格納する ONEX_RESULT_UPDATE_DATA 構造体を指します。 |
| OneXNotificationTypeAuthRestarted | 2 | 0x2 | 802.1X 認証が再開されたことを示します。 WLAN_NOTIFICATION_DATA 構造体の pData メンバーは、認証が再開された理由を示す ONEX_AUTH_RESTART_REASON 列挙型の値を指します。 |
| OneXNotificationTypeEventInvalid | 3 | 0x3 | 802.1X 通知が取り得る値を示す範囲の終端を示します。 |
| OneXNumNotifications | 3 | 0x3 | 802.1X 通知が取り得る値を示す範囲の終端を示します。 |
公式ドキュメント
ONEX_NOTIFICATION_TYPE 列挙型は、802.1X モジュールの通知に関して、WLAN_NOTIFICATION_DATA 構造体の NotificationCode メンバーが取り得る値を指定します。
解説(Remarks)
ONEX_NOTIFICATION_TYPE 列挙型は、Windows Vista 以降でサポートされる新しいワイヤレス構成コンポーネントである 802.1X モジュールによって使用されます。
ONEX_NOTIFICATION_TYPE は、WLAN_NOTIFICATION_DATA 構造体の NotificationSource メンバーが WLAN_NOTIFICATION_SOURCE_ONEX である場合に受信した通知について、同構造体の NotificationCode メンバーが取り得る値を指定します。
WlanRegisterNotification 関数は、すべてのワイヤレス インターフェイスに対する通知の登録および登録解除を行うためにアプリケーションが使用します。通知を登録する際、アプリケーションは WlanRegisterNotification 関数に渡す funcCallback パラメーターが指すコールバック関数を提供しなければなりません。このコールバック関数のプロトタイプは WLAN_NOTIFICATION_CALLBACK です。このコールバック関数は、WlanRegisterNotification 関数に渡す dwNotifSource パラメーターで登録された通知を受け取ります。
コールバック関数は、第 1 パラメーターとして、通知に関する詳細情報を格納した WLAN_NOTIFICATION_DATA 構造体へのポインターとともに呼び出されます。また、コールバック関数は第 2 パラメーターとして、WlanRegisterNotification 関数の pCallbackContext パラメーターに渡されたクライアント コンテキストへのポインターを受け取ります。WlanRegisterNotification 関数に NULL ポインターが渡された場合、このクライアント コンテキストは NULL ポインターになることがあります。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum ONEX_NOTIFICATION_TYPE : int {
OneXPublicNotificationBase = 0,
OneXNotificationTypeResultUpdate = 1,
OneXNotificationTypeAuthRestarted = 2,
OneXNotificationTypeEventInvalid = 3,
OneXNumNotifications = 3
} ONEX_NOTIFICATION_TYPE;public enum ONEX_NOTIFICATION_TYPE : int
{
OneXPublicNotificationBase = 0,
OneXNotificationTypeResultUpdate = 1,
OneXNotificationTypeAuthRestarted = 2,
OneXNotificationTypeEventInvalid = 3,
OneXNumNotifications = 3,
}Public Enum ONEX_NOTIFICATION_TYPE As Integer
OneXPublicNotificationBase = 0
OneXNotificationTypeResultUpdate = 1
OneXNotificationTypeAuthRestarted = 2
OneXNotificationTypeEventInvalid = 3
OneXNumNotifications = 3
End Enumimport enum
class ONEX_NOTIFICATION_TYPE(enum.IntEnum):
OneXPublicNotificationBase = 0
OneXNotificationTypeResultUpdate = 1
OneXNotificationTypeAuthRestarted = 2
OneXNotificationTypeEventInvalid = 3
OneXNumNotifications = 3// ONEX_NOTIFICATION_TYPE
pub const OneXPublicNotificationBase: i32 = 0;
pub const OneXNotificationTypeResultUpdate: i32 = 1;
pub const OneXNotificationTypeAuthRestarted: i32 = 2;
pub const OneXNotificationTypeEventInvalid: i32 = 3;
pub const OneXNumNotifications: i32 = 3;// ONEX_NOTIFICATION_TYPE
const (
OneXPublicNotificationBase int32 = 0
OneXNotificationTypeResultUpdate int32 = 1
OneXNotificationTypeAuthRestarted int32 = 2
OneXNotificationTypeEventInvalid int32 = 3
OneXNumNotifications int32 = 3
)const
OneXPublicNotificationBase = 0;
OneXNotificationTypeResultUpdate = 1;
OneXNotificationTypeAuthRestarted = 2;
OneXNotificationTypeEventInvalid = 3;
OneXNumNotifications = 3;// ONEX_NOTIFICATION_TYPE
pub const OneXPublicNotificationBase: i32 = 0;
pub const OneXNotificationTypeResultUpdate: i32 = 1;
pub const OneXNotificationTypeAuthRestarted: i32 = 2;
pub const OneXNotificationTypeEventInvalid: i32 = 3;
pub const OneXNumNotifications: i32 = 3;const
OneXPublicNotificationBase* = 0
OneXNotificationTypeResultUpdate* = 1
OneXNotificationTypeAuthRestarted* = 2
OneXNotificationTypeEventInvalid* = 3
OneXNumNotifications* = 3enum ONEX_NOTIFICATION_TYPE : int {
OneXPublicNotificationBase = 0,
OneXNotificationTypeResultUpdate = 1,
OneXNotificationTypeAuthRestarted = 2,
OneXNotificationTypeEventInvalid = 3,
OneXNumNotifications = 3,
}#define global OneXPublicNotificationBase 0x0
#define global OneXNotificationTypeResultUpdate 0x1
#define global OneXNotificationTypeAuthRestarted 0x2
#define global OneXNotificationTypeEventInvalid 0x3
#define global OneXNumNotifications 0x3