BluetoothFindFirstDevice function Null safety bthprops
- Pointer<
BLUETOOTH_DEVICE_SEARCH_PARAMS> pbtsp, - Pointer<
BLUETOOTH_DEVICE_INFO> pbtdi
The BluetoothFindFirstDevice function begins the enumeration Bluetooth devices.
HBLUETOOTH_DEVICE_FIND BluetoothFindFirstDevice(
const BLUETOOTH_DEVICE_SEARCH_PARAMS *pbtsp,
BLUETOOTH_DEVICE_INFO *pbtdi
);
Implementation
int BluetoothFindFirstDevice(Pointer<BLUETOOTH_DEVICE_SEARCH_PARAMS> pbtsp,
Pointer<BLUETOOTH_DEVICE_INFO> pbtdi) {
final _BluetoothFindFirstDevice = _bthprops.lookupFunction<
IntPtr Function(Pointer<BLUETOOTH_DEVICE_SEARCH_PARAMS> pbtsp,
Pointer<BLUETOOTH_DEVICE_INFO> pbtdi),
int Function(Pointer<BLUETOOTH_DEVICE_SEARCH_PARAMS> pbtsp,
Pointer<BLUETOOTH_DEVICE_INFO> pbtdi)>('BluetoothFindFirstDevice');
return _BluetoothFindFirstDevice(pbtsp, pbtdi);
}