BluetoothGATTGetCharacteristics function bluetooth

int BluetoothGATTGetCharacteristics(
  1. int hDevice,
  2. Pointer<BTH_LE_GATT_SERVICE> Service,
  3. int CharacteristicsBufferCount,
  4. Pointer<BTH_LE_GATT_CHARACTERISTIC> CharacteristicsBuffer,
  5. Pointer<Uint16> CharacteristicsBufferActual,
  6. int Flags,
)

Gets all the characteristics available for the specified service.

HRESULT BluetoothGATTGetCharacteristics(
  HANDLE                      hDevice,
  PBTH_LE_GATT_SERVICE        Service,
  USHORT                      CharacteristicsBufferCount,
  PBTH_LE_GATT_CHARACTERISTIC CharacteristicsBuffer,
  USHORT                      *CharacteristicsBufferActual,
  ULONG                       Flags
);

Implementation

int BluetoothGATTGetCharacteristics(
  int hDevice,
  Pointer<BTH_LE_GATT_SERVICE> Service,
  int CharacteristicsBufferCount,
  Pointer<BTH_LE_GATT_CHARACTERISTIC> CharacteristicsBuffer,
  Pointer<Uint16> CharacteristicsBufferActual,
  int Flags,
) => _BluetoothGATTGetCharacteristics(
  hDevice,
  Service,
  CharacteristicsBufferCount,
  CharacteristicsBuffer,
  CharacteristicsBufferActual,
  Flags,
);