BluetoothGATTGetServices function bluetooth

int BluetoothGATTGetServices(
  1. int hDevice,
  2. int ServicesBufferCount,
  3. Pointer<BTH_LE_GATT_SERVICE> ServicesBuffer,
  4. Pointer<Uint16> ServicesBufferActual,
  5. int Flags,
)

The BluetoothGATTGetServices function gets all the primary services available for a server.

HRESULT BluetoothGATTGetServices(
  HANDLE               hDevice,
  USHORT               ServicesBufferCount,
  PBTH_LE_GATT_SERVICE ServicesBuffer,
  USHORT               *ServicesBufferActual,
  ULONG                Flags
);

Implementation

int BluetoothGATTGetServices(
  int hDevice,
  int ServicesBufferCount,
  Pointer<BTH_LE_GATT_SERVICE> ServicesBuffer,
  Pointer<Uint16> ServicesBufferActual,
  int Flags,
) => _BluetoothGATTGetServices(
  hDevice,
  ServicesBufferCount,
  ServicesBuffer,
  ServicesBufferActual,
  Flags,
);