Capsule API Example

Loading...
Searching...
No Matches
Functions
CDeviceInfoList.h File Reference
`#include "CDefinesPrivate.h"`
`#include "CDeviceInfo.h"`
`#include "CError.h"`

Go to the source code of this file.

## Functions
| CLC_STRUCT_WNN (DeviceInfo, clCDeviceInfoList, deviceInfoList)
| List of devices found by device locator.
CL_DLL int32_t | clCDeviceInfoList_GetCount (clCDeviceInfoList devices, clCError *error) NOEXCEPT
CL_DLL clCDeviceInfo | clCDeviceInfoList_GetDeviceInfo (clCDeviceInfoList devices, int32_t index, clCError *error) NOEXCEPT

## Function Documentation

## ◆ CLC_STRUCT_WNN()

CLC_STRUCT_WNN | ( | DeviceInfo | ,
|  | clCDeviceInfoList | ,
|  | deviceInfoList | )

List of devices found by device locator.

Contains information about the devices

## ◆ clCDeviceInfoList_GetCount()

CL_DLL int32_t clCDeviceInfoList_GetCount | ( | clCDeviceInfoList | devices,
|  | clCError * | error )

Get the number of devices.

Parameters

  devices | device list handle
  error |

Returns
  count of device list

## ◆ clCDeviceInfoList_GetDeviceInfo()

CL_DLL clCDeviceInfo clCDeviceInfoList_GetDeviceInfo | ( | clCDeviceInfoList | devices,
|  | int32_t | index,
|  | clCError * | error )

Get device info from the list.

Parameters

  devices | device list handle
  index | info index

Returns
  device info handle