[DllImport("bthprops.cpl", SetLastError=true)]
static extern uint BluetoothAuthenticateDeviceEx(IntPtr hwndParentIn, IntPtr hRadioIn, ref BLUETOOTH_DEVICE_INFO pbtdiInout, BLUETOOTH_OOB_DATA pbtOobData, uint authenticationRequirement);
Declare Function BluetoothAuthenticateDeviceEx Lib "irprops.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
The authenticationRequirement is actually an enum defined as:
typedef enum {
MITMProtectionNotRequired = 0x00,
MITMProtectionRequired = 0x01,
MITMProtectionNotRequiredBonding = 0x02,
MITMProtectionRequiredBonding = 0x03,
MITMProtectionNotRequiredGeneralBonding = 0x04,
MITMProtectionRequiredGeneralBonding = 0x05,
MITMProtectionNotDefined = 0xff
} AUTHENTICATION_REQUIREMENTS;
Please add some!
Please add some!