BluetoothGATTGetIncludedServices function bluetooth

int BluetoothGATTGetIncludedServices(
  1. int hDevice,
  2. Pointer<BTH_LE_GATT_SERVICE> ParentService,
  3. int IncludedServicesBufferCount,
  4. Pointer<BTH_LE_GATT_SERVICE> IncludedServicesBuffer,
  5. Pointer<Uint16> IncludedServicesBufferActual,
  6. int Flags
)

Gets all the included services available for a given service.

HRESULT BluetoothGATTGetIncludedServices(
  HANDLE               hDevice,
  PBTH_LE_GATT_SERVICE ParentService,
  USHORT               IncludedServicesBufferCount,
  PBTH_LE_GATT_SERVICE IncludedServicesBuffer,
  USHORT               *IncludedServicesBufferActual,
  ULONG                Flags
);

Implementation

int BluetoothGATTGetIncludedServices(
        int hDevice,
        Pointer<BTH_LE_GATT_SERVICE> ParentService,
        int IncludedServicesBufferCount,
        Pointer<BTH_LE_GATT_SERVICE> IncludedServicesBuffer,
        Pointer<Uint16> IncludedServicesBufferActual,
        int Flags) =>
    _BluetoothGATTGetIncludedServices(
        hDevice,
        ParentService,
        IncludedServicesBufferCount,
        IncludedServicesBuffer,
        IncludedServicesBufferActual,
        Flags);