BluetoothGATTGetDescriptors function bluetooth

int BluetoothGATTGetDescriptors(
  1. int hDevice,
  2. Pointer<BTH_LE_GATT_CHARACTERISTIC> Characteristic,
  3. int DescriptorsBufferCount,
  4. Pointer<BTH_LE_GATT_DESCRIPTOR> DescriptorsBuffer,
  5. Pointer<Uint16> DescriptorsBufferActual,
  6. int Flags,
)

Gets all the descriptors available for the specified characteristic.

HRESULT BluetoothGATTGetDescriptors(
  HANDLE                      hDevice,
  PBTH_LE_GATT_CHARACTERISTIC Characteristic,
  USHORT                      DescriptorsBufferCount,
  PBTH_LE_GATT_DESCRIPTOR     DescriptorsBuffer,
  USHORT                      *DescriptorsBufferActual,
  ULONG                       Flags
);

Implementation

int BluetoothGATTGetDescriptors(
        int hDevice,
        Pointer<BTH_LE_GATT_CHARACTERISTIC> Characteristic,
        int DescriptorsBufferCount,
        Pointer<BTH_LE_GATT_DESCRIPTOR> DescriptorsBuffer,
        Pointer<Uint16> DescriptorsBufferActual,
        int Flags) =>
    _BluetoothGATTGetDescriptors(
        hDevice,
        Characteristic,
        DescriptorsBufferCount,
        DescriptorsBuffer,
        DescriptorsBufferActual,
        Flags);