BluetoothRemoveDevice function Null safety bthprops

int BluetoothRemoveDevice (
  1. Pointer<BLUETOOTH_ADDRESS> pAddress
)

The BluetoothRemoveDevice function removes authentication between a Bluetooth device and the computer and clears cached service information for the device.

DWORD BluetoothRemoveDevice(
  const BLUETOOTH_ADDRESS *pAddress
);

Implementation

int BluetoothRemoveDevice(Pointer<BLUETOOTH_ADDRESS> pAddress) {
  final _BluetoothRemoveDevice = _bthprops.lookupFunction<
      Uint32 Function(Pointer<BLUETOOTH_ADDRESS> pAddress),
      int Function(
          Pointer<BLUETOOTH_ADDRESS> pAddress)>('BluetoothRemoveDevice');
  return _BluetoothRemoveDevice(pAddress);
}