Example

Loading...
Searching...
No Matches
Functions
CDeviceInfoList.h File Reference
`#include "Capsule/CDefinesPrivate.h"`
`#include "Capsule/CDeviceInfo.h"`
Include dependency graph for CDeviceInfoList.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions
| CLC_STRUCT (clCDeviceInfoList)
| List of devices found by device locator.
CL_DLL int32_t | clCDeviceInfoList_GetCount (clCDeviceInfoList devices) NOEXCEPT
CL_DLL clCDeviceInfo | clCDeviceInfoList_GetDeviceInfo (clCDeviceInfoList devices, int32_t index) NOEXCEPT

## Function Documentation

## ◆ CLC_STRUCT()

CLC_STRUCT | ( | clCDeviceInfoList |  | ) |

List of devices found by device locator.

Contains information about the devices

## ◆ clCDeviceInfoList_GetCount()

CL_DLL int32_t clCDeviceInfoList_GetCount | ( | clCDeviceInfoList | devices | ) |

Get the number of devices.

Parameters

  devices | device list handle

Returns
  count of device list

## ◆ clCDeviceInfoList_GetDeviceInfo()

CL_DLL clCDeviceInfo clCDeviceInfoList_GetDeviceInfo | ( | clCDeviceInfoList | devices,
|  | int32_t | index
| ) |  |

Get device info from the list.

Parameters

  devices | device list handle
  index | info index

Returns
  device info handle