BluetoothEnumerateInstalledServices function Null safety bthprops
The BluetoothEnumerateInstalledServices function enumerates the services GUIDs (Globally Unique Identifiers) enabled on a Bluetooth device.
DWORD BluetoothEnumerateInstalledServices(
HANDLE hRadio,
const BLUETOOTH_DEVICE_INFO *pbtdi,
DWORD *pcServiceInout,
GUID *pGuidServices
);
Implementation
int BluetoothEnumerateInstalledServices(
int hRadio,
Pointer<BLUETOOTH_DEVICE_INFO> pbtdi,
Pointer<Uint32> pcServiceInout,
Pointer<GUID> pGuidServices) {
final _BluetoothEnumerateInstalledServices = _bthprops.lookupFunction<
Uint32 Function(IntPtr hRadio, Pointer<BLUETOOTH_DEVICE_INFO> pbtdi,
Pointer<Uint32> pcServiceInout, Pointer<GUID> pGuidServices),
int Function(
int hRadio,
Pointer<BLUETOOTH_DEVICE_INFO> pbtdi,
Pointer<Uint32> pcServiceInout,
Pointer<GUID> pGuidServices)>('BluetoothEnumerateInstalledServices');
return _BluetoothEnumerateInstalledServices(
hRadio, pbtdi, pcServiceInout, pGuidServices);
}