BluetoothAuthenticateDeviceEx function bthprops

int BluetoothAuthenticateDeviceEx(
  1. int hwndParentIn,
  2. int hRadioIn,
  3. Pointer<BLUETOOTH_DEVICE_INFO> pbtdiInout,
  4. Pointer<BLUETOOTH_OOB_DATA_INFO> pbtOobData,
  5. int authenticationRequirement,
)

The BluetoothAuthenticateDeviceEx function sends an authentication request to a remote Bluetooth device. Additionally, this function allows for out-of-band data to be passed into the function call for the device being authenticated.

DWORD BluetoothAuthenticateDeviceEx(
  HWND                        hwndParentIn,
  HANDLE                      hRadioIn,
  BLUETOOTH_DEVICE_INFO       *pbtdiInout,
  PBLUETOOTH_OOB_DATA_INFO    pbtOobData,
  AUTHENTICATION_REQUIREMENTS authenticationRequirement
);

Implementation

int BluetoothAuthenticateDeviceEx(
  int hwndParentIn,
  int hRadioIn,
  Pointer<BLUETOOTH_DEVICE_INFO> pbtdiInout,
  Pointer<BLUETOOTH_OOB_DATA_INFO> pbtOobData,
  int authenticationRequirement,
) => _BluetoothAuthenticateDeviceEx(
  hwndParentIn,
  hRadioIn,
  pbtdiInout,
  pbtOobData,
  authenticationRequirement,
);