BluetoothAuthenticateDeviceEx function Null safety bthprops
- int hwndParentIn,
- int hRadioIn,
- Pointer<
BLUETOOTH_DEVICE_INFO> pbtdiInout, - Pointer<
BLUETOOTH_OOB_DATA_INFO> pbtOobData, - 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) {
final _BluetoothAuthenticateDeviceEx = _bthprops.lookupFunction<
Uint32 Function(
IntPtr hwndParentIn,
IntPtr hRadioIn,
Pointer<BLUETOOTH_DEVICE_INFO> pbtdiInout,
Pointer<BLUETOOTH_OOB_DATA_INFO> pbtOobData,
Int32 authenticationRequirement),
int Function(
int hwndParentIn,
int hRadioIn,
Pointer<BLUETOOTH_DEVICE_INFO> pbtdiInout,
Pointer<BLUETOOTH_OOB_DATA_INFO> pbtOobData,
int authenticationRequirement)>('BluetoothAuthenticateDeviceEx');
return _BluetoothAuthenticateDeviceEx(hwndParentIn, hRadioIn, pbtdiInout,
pbtOobData, authenticationRequirement);
}