BluetoothAuthenticateDeviceEx function bthprops

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

Sends an authentication request to a remote Bluetooth device.

To learn more, see learn.microsoft.com/windows/win32/api/bluetoothapis/nf-bluetoothapis-bluetoothauthenticatedeviceex.

Implementation

@pragma('vm:prefer-inline')
int BluetoothAuthenticateDeviceEx(
  HWND? hwndParentIn,
  HANDLE? hRadioIn,
  Pointer<BLUETOOTH_DEVICE_INFO> pbtdiInout,
  Pointer<BLUETOOTH_OOB_DATA_INFO>? pbtOobData,
  AUTHENTICATION_REQUIREMENTS authenticationRequirement,
) => _BluetoothAuthenticateDeviceEx(
  hwndParentIn ?? nullptr,
  hRadioIn ?? nullptr,
  pbtdiInout,
  pbtOobData ?? nullptr,
  authenticationRequirement,
);