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

BLUETOOTH_AUTHENTICATION_REQUIREMENTS

列挙型
基底型i4

メンバー 7

名前10進16進
BLUETOOTH_MITM_ProtectionNotRequired00x0
BLUETOOTH_MITM_ProtectionRequired10x1
BLUETOOTH_MITM_ProtectionNotRequiredBonding20x2
BLUETOOTH_MITM_ProtectionRequiredBonding30x3
BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding40x4
BLUETOOTH_MITM_ProtectionRequiredGeneralBonding50x5
BLUETOOTH_MITM_ProtectionNotDefined2550xFF

各言語での定義

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

typedef enum BLUETOOTH_AUTHENTICATION_REQUIREMENTS : int {
    BLUETOOTH_MITM_ProtectionNotRequired = 0,
    BLUETOOTH_MITM_ProtectionRequired = 1,
    BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2,
    BLUETOOTH_MITM_ProtectionRequiredBonding = 3,
    BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4,
    BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5,
    BLUETOOTH_MITM_ProtectionNotDefined = 255
} BLUETOOTH_AUTHENTICATION_REQUIREMENTS;
public enum BLUETOOTH_AUTHENTICATION_REQUIREMENTS : int
{
    BLUETOOTH_MITM_ProtectionNotRequired = 0,
    BLUETOOTH_MITM_ProtectionRequired = 1,
    BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2,
    BLUETOOTH_MITM_ProtectionRequiredBonding = 3,
    BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4,
    BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5,
    BLUETOOTH_MITM_ProtectionNotDefined = 255,
}
Public Enum BLUETOOTH_AUTHENTICATION_REQUIREMENTS As Integer
    BLUETOOTH_MITM_ProtectionNotRequired = 0
    BLUETOOTH_MITM_ProtectionRequired = 1
    BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2
    BLUETOOTH_MITM_ProtectionRequiredBonding = 3
    BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4
    BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5
    BLUETOOTH_MITM_ProtectionNotDefined = 255
End Enum
import enum

class BLUETOOTH_AUTHENTICATION_REQUIREMENTS(enum.IntEnum):
    BLUETOOTH_MITM_ProtectionNotRequired = 0
    BLUETOOTH_MITM_ProtectionRequired = 1
    BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2
    BLUETOOTH_MITM_ProtectionRequiredBonding = 3
    BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4
    BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5
    BLUETOOTH_MITM_ProtectionNotDefined = 255
// BLUETOOTH_AUTHENTICATION_REQUIREMENTS
pub const BLUETOOTH_MITM_ProtectionNotRequired: i32 = 0;
pub const BLUETOOTH_MITM_ProtectionRequired: i32 = 1;
pub const BLUETOOTH_MITM_ProtectionNotRequiredBonding: i32 = 2;
pub const BLUETOOTH_MITM_ProtectionRequiredBonding: i32 = 3;
pub const BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding: i32 = 4;
pub const BLUETOOTH_MITM_ProtectionRequiredGeneralBonding: i32 = 5;
pub const BLUETOOTH_MITM_ProtectionNotDefined: i32 = 255;
// BLUETOOTH_AUTHENTICATION_REQUIREMENTS
const (
	BLUETOOTH_MITM_ProtectionNotRequired int32 = 0
	BLUETOOTH_MITM_ProtectionRequired int32 = 1
	BLUETOOTH_MITM_ProtectionNotRequiredBonding int32 = 2
	BLUETOOTH_MITM_ProtectionRequiredBonding int32 = 3
	BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding int32 = 4
	BLUETOOTH_MITM_ProtectionRequiredGeneralBonding int32 = 5
	BLUETOOTH_MITM_ProtectionNotDefined int32 = 255
)
const
  BLUETOOTH_MITM_ProtectionNotRequired = 0;
  BLUETOOTH_MITM_ProtectionRequired = 1;
  BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2;
  BLUETOOTH_MITM_ProtectionRequiredBonding = 3;
  BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4;
  BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5;
  BLUETOOTH_MITM_ProtectionNotDefined = 255;
// BLUETOOTH_AUTHENTICATION_REQUIREMENTS
pub const BLUETOOTH_MITM_ProtectionNotRequired: i32 = 0;
pub const BLUETOOTH_MITM_ProtectionRequired: i32 = 1;
pub const BLUETOOTH_MITM_ProtectionNotRequiredBonding: i32 = 2;
pub const BLUETOOTH_MITM_ProtectionRequiredBonding: i32 = 3;
pub const BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding: i32 = 4;
pub const BLUETOOTH_MITM_ProtectionRequiredGeneralBonding: i32 = 5;
pub const BLUETOOTH_MITM_ProtectionNotDefined: i32 = 255;
const
  BLUETOOTH_MITM_ProtectionNotRequired* = 0
  BLUETOOTH_MITM_ProtectionRequired* = 1
  BLUETOOTH_MITM_ProtectionNotRequiredBonding* = 2
  BLUETOOTH_MITM_ProtectionRequiredBonding* = 3
  BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding* = 4
  BLUETOOTH_MITM_ProtectionRequiredGeneralBonding* = 5
  BLUETOOTH_MITM_ProtectionNotDefined* = 255
enum BLUETOOTH_AUTHENTICATION_REQUIREMENTS : int {
    BLUETOOTH_MITM_ProtectionNotRequired = 0,
    BLUETOOTH_MITM_ProtectionRequired = 1,
    BLUETOOTH_MITM_ProtectionNotRequiredBonding = 2,
    BLUETOOTH_MITM_ProtectionRequiredBonding = 3,
    BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding = 4,
    BLUETOOTH_MITM_ProtectionRequiredGeneralBonding = 5,
    BLUETOOTH_MITM_ProtectionNotDefined = 255,
}
#define global BLUETOOTH_MITM_ProtectionNotRequired               0x0
#define global BLUETOOTH_MITM_ProtectionRequired                  0x1
#define global BLUETOOTH_MITM_ProtectionNotRequiredBonding        0x2
#define global BLUETOOTH_MITM_ProtectionRequiredBonding           0x3
#define global BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding 0x4
#define global BLUETOOTH_MITM_ProtectionRequiredGeneralBonding    0x5
#define global BLUETOOTH_MITM_ProtectionNotDefined                0xFF