Win32 API 日本語リファレンス
ホームDevices.Bluetooth › AUTHENTICATION_REQUIREMENTS

AUTHENTICATION_REQUIREMENTS

列挙型
基底型i4

メンバー 7

名前10進16進
MITMProtectionNotRequired00x0
MITMProtectionRequired10x1
MITMProtectionNotRequiredBonding20x2
MITMProtectionRequiredBonding30x3
MITMProtectionNotRequiredGeneralBonding40x4
MITMProtectionRequiredGeneralBonding50x5
MITMProtectionNotDefined2550xFF

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum AUTHENTICATION_REQUIREMENTS : int {
    MITMProtectionNotRequired = 0,
    MITMProtectionRequired = 1,
    MITMProtectionNotRequiredBonding = 2,
    MITMProtectionRequiredBonding = 3,
    MITMProtectionNotRequiredGeneralBonding = 4,
    MITMProtectionRequiredGeneralBonding = 5,
    MITMProtectionNotDefined = 255
} AUTHENTICATION_REQUIREMENTS;
public enum AUTHENTICATION_REQUIREMENTS : int
{
    MITMProtectionNotRequired = 0,
    MITMProtectionRequired = 1,
    MITMProtectionNotRequiredBonding = 2,
    MITMProtectionRequiredBonding = 3,
    MITMProtectionNotRequiredGeneralBonding = 4,
    MITMProtectionRequiredGeneralBonding = 5,
    MITMProtectionNotDefined = 255,
}
Public Enum AUTHENTICATION_REQUIREMENTS As Integer
    MITMProtectionNotRequired = 0
    MITMProtectionRequired = 1
    MITMProtectionNotRequiredBonding = 2
    MITMProtectionRequiredBonding = 3
    MITMProtectionNotRequiredGeneralBonding = 4
    MITMProtectionRequiredGeneralBonding = 5
    MITMProtectionNotDefined = 255
End Enum
import enum

class AUTHENTICATION_REQUIREMENTS(enum.IntEnum):
    MITMProtectionNotRequired = 0
    MITMProtectionRequired = 1
    MITMProtectionNotRequiredBonding = 2
    MITMProtectionRequiredBonding = 3
    MITMProtectionNotRequiredGeneralBonding = 4
    MITMProtectionRequiredGeneralBonding = 5
    MITMProtectionNotDefined = 255
// AUTHENTICATION_REQUIREMENTS
pub const MITMProtectionNotRequired: i32 = 0;
pub const MITMProtectionRequired: i32 = 1;
pub const MITMProtectionNotRequiredBonding: i32 = 2;
pub const MITMProtectionRequiredBonding: i32 = 3;
pub const MITMProtectionNotRequiredGeneralBonding: i32 = 4;
pub const MITMProtectionRequiredGeneralBonding: i32 = 5;
pub const MITMProtectionNotDefined: i32 = 255;
// AUTHENTICATION_REQUIREMENTS
const (
	MITMProtectionNotRequired int32 = 0
	MITMProtectionRequired int32 = 1
	MITMProtectionNotRequiredBonding int32 = 2
	MITMProtectionRequiredBonding int32 = 3
	MITMProtectionNotRequiredGeneralBonding int32 = 4
	MITMProtectionRequiredGeneralBonding int32 = 5
	MITMProtectionNotDefined int32 = 255
)
const
  MITMProtectionNotRequired = 0;
  MITMProtectionRequired = 1;
  MITMProtectionNotRequiredBonding = 2;
  MITMProtectionRequiredBonding = 3;
  MITMProtectionNotRequiredGeneralBonding = 4;
  MITMProtectionRequiredGeneralBonding = 5;
  MITMProtectionNotDefined = 255;
// AUTHENTICATION_REQUIREMENTS
pub const MITMProtectionNotRequired: i32 = 0;
pub const MITMProtectionRequired: i32 = 1;
pub const MITMProtectionNotRequiredBonding: i32 = 2;
pub const MITMProtectionRequiredBonding: i32 = 3;
pub const MITMProtectionNotRequiredGeneralBonding: i32 = 4;
pub const MITMProtectionRequiredGeneralBonding: i32 = 5;
pub const MITMProtectionNotDefined: i32 = 255;
const
  MITMProtectionNotRequired* = 0
  MITMProtectionRequired* = 1
  MITMProtectionNotRequiredBonding* = 2
  MITMProtectionRequiredBonding* = 3
  MITMProtectionNotRequiredGeneralBonding* = 4
  MITMProtectionRequiredGeneralBonding* = 5
  MITMProtectionNotDefined* = 255
enum AUTHENTICATION_REQUIREMENTS : int {
    MITMProtectionNotRequired = 0,
    MITMProtectionRequired = 1,
    MITMProtectionNotRequiredBonding = 2,
    MITMProtectionRequiredBonding = 3,
    MITMProtectionNotRequiredGeneralBonding = 4,
    MITMProtectionRequiredGeneralBonding = 5,
    MITMProtectionNotDefined = 255,
}
#define global MITMProtectionNotRequired               0x0
#define global MITMProtectionRequired                  0x1
#define global MITMProtectionNotRequiredBonding        0x2
#define global MITMProtectionRequiredBonding           0x3
#define global MITMProtectionNotRequiredGeneralBonding 0x4
#define global MITMProtectionRequiredGeneralBonding    0x5
#define global MITMProtectionNotDefined                0xFF