BluetoothGATTGetDescriptorValue function bluetooth

int BluetoothGATTGetDescriptorValue(
  1. int hDevice,
  2. Pointer<BTH_LE_GATT_DESCRIPTOR> Descriptor,
  3. int DescriptorValueDataSize,
  4. Pointer<BTH_LE_GATT_DESCRIPTOR_VALUE> DescriptorValue,
  5. Pointer<Uint16> DescriptorValueSizeRequired,
  6. int Flags,
)

Gets the value of the specified descriptor.

HRESULT BluetoothGATTGetDescriptorValue(
  HANDLE                        hDevice,
  PBTH_LE_GATT_DESCRIPTOR       Descriptor,
  ULONG                         DescriptorValueDataSize,
  PBTH_LE_GATT_DESCRIPTOR_VALUE DescriptorValue,
  USHORT                        *DescriptorValueSizeRequired,
  ULONG                         Flags
);

Implementation

int BluetoothGATTGetDescriptorValue(
  int hDevice,
  Pointer<BTH_LE_GATT_DESCRIPTOR> Descriptor,
  int DescriptorValueDataSize,
  Pointer<BTH_LE_GATT_DESCRIPTOR_VALUE> DescriptorValue,
  Pointer<Uint16> DescriptorValueSizeRequired,
  int Flags,
) => _BluetoothGATTGetDescriptorValue(
  hDevice,
  Descriptor,
  DescriptorValueDataSize,
  DescriptorValue,
  DescriptorValueSizeRequired,
  Flags,
);