BluetoothUnregisterAuthentication function Null safety bthprops

int BluetoothUnregisterAuthentication(
  1. int hRegHandle
)

The BluetoothUnregisterAuthentication function removes registration for a callback routine that was previously registered with a call to the BluetoothRegisterForAuthentication function.

BOOL BluetoothUnregisterAuthentication(
  HBLUETOOTH_AUTHENTICATION_REGISTRATION hRegHandle
);

Implementation

int BluetoothUnregisterAuthentication(int hRegHandle) {
  final _BluetoothUnregisterAuthentication = _bthprops.lookupFunction<
      Int32 Function(IntPtr hRegHandle),
      int Function(int hRegHandle)>('BluetoothUnregisterAuthentication');
  return _BluetoothUnregisterAuthentication(hRegHandle);
}