BluetoothFindDeviceClose function Null safety bthprops

int BluetoothFindDeviceClose(
  1. int hFind
)

The BluetoothFindDeviceClose function closes an enumeration handle associated with a device query.

BOOL BluetoothFindDeviceClose(
  HBLUETOOTH_DEVICE_FIND hFind
);

Implementation

int BluetoothFindDeviceClose(int hFind) {
  final _BluetoothFindDeviceClose = _bthprops.lookupFunction<
      Int32 Function(IntPtr hFind),
      int Function(int hFind)>('BluetoothFindDeviceClose');
  return _BluetoothFindDeviceClose(hFind);
}