BluetoothUpdateDeviceRecord function Null safety bthprops

int BluetoothUpdateDeviceRecord (
  1. Pointer<BLUETOOTH_DEVICE_INFO> pbtdi
)

The BluetoothUpdateDeviceRecord function updates the local computer cache about a Bluetooth device.

DWORD BluetoothUpdateDeviceRecord(
  const BLUETOOTH_DEVICE_INFO *pbtdi
);

Implementation

int BluetoothUpdateDeviceRecord(Pointer<BLUETOOTH_DEVICE_INFO> pbtdi) {
  final _BluetoothUpdateDeviceRecord = _bthprops.lookupFunction<
      Uint32 Function(Pointer<BLUETOOTH_DEVICE_INFO> pbtdi),
      int Function(
          Pointer<BLUETOOTH_DEVICE_INFO> pbtdi)>('BluetoothUpdateDeviceRecord');
  return _BluetoothUpdateDeviceRecord(pbtdi);
}