BluetoothDisplayDeviceProperties function Null safety bthprops

int BluetoothDisplayDeviceProperties (
  1. int hwndParent,
  2. Pointer<BLUETOOTH_DEVICE_INFO> pbtdi
)

The BluetoothDisplayDeviceProperties function opens the Control Panel device information property sheet.

BOOL BluetoothDisplayDeviceProperties(
  HWND                  hwndParent,
  BLUETOOTH_DEVICE_INFO *pbtdi
);

Implementation

int BluetoothDisplayDeviceProperties(
    int hwndParent, Pointer<BLUETOOTH_DEVICE_INFO> pbtdi) {
  final _BluetoothDisplayDeviceProperties = _bthprops.lookupFunction<
      Int32 Function(IntPtr hwndParent, Pointer<BLUETOOTH_DEVICE_INFO> pbtdi),
      int Function(
          int hwndParent,
          Pointer<BLUETOOTH_DEVICE_INFO>
              pbtdi)>('BluetoothDisplayDeviceProperties');
  return _BluetoothDisplayDeviceProperties(hwndParent, pbtdi);
}