BluetoothGATTSetDescriptorValue function bluetooth

int BluetoothGATTSetDescriptorValue(
  1. int hDevice,
  2. Pointer<BTH_LE_GATT_DESCRIPTOR> Descriptor,
  3. Pointer<BTH_LE_GATT_DESCRIPTOR_VALUE> DescriptorValue,
  4. int Flags
)

Writes the specified descriptor value to the Bluetooth device.

HRESULT BluetoothGATTSetDescriptorValue(
  HANDLE                        hDevice,
  PBTH_LE_GATT_DESCRIPTOR       Descriptor,
  PBTH_LE_GATT_DESCRIPTOR_VALUE DescriptorValue,
  ULONG                         Flags
);

Implementation

int BluetoothGATTSetDescriptorValue(
        int hDevice,
        Pointer<BTH_LE_GATT_DESCRIPTOR> Descriptor,
        Pointer<BTH_LE_GATT_DESCRIPTOR_VALUE> DescriptorValue,
        int Flags) =>
    _BluetoothGATTSetDescriptorValue(
        hDevice, Descriptor, DescriptorValue, Flags);