BluetoothEnableIncomingConnections function Null safety bthprops
The BluetoothEnableIncomingConnections function modifies whether a local Bluetooth radio accepts incoming connections.
BOOL BluetoothEnableIncomingConnections(
HANDLE hRadio,
BOOL fEnabled
);
Implementation
int BluetoothEnableIncomingConnections(int hRadio, int fEnabled) {
final _BluetoothEnableIncomingConnections = _bthprops.lookupFunction<
Int32 Function(IntPtr hRadio, Int32 fEnabled),
int Function(
int hRadio, int fEnabled)>('BluetoothEnableIncomingConnections');
return _BluetoothEnableIncomingConnections(hRadio, fEnabled);
}