Skip to content

DeviceId

Navigation: ADLX SDK ReferencesADLX InterfacesGPUIADLXGPU

Syntax

ADLX_RESULT    DeviceId(const char** deviceId)

Parameters

#DirectionNameTypeDescription
1.[out]deviceIdconst char**The pointer to a zero-terminated string where the device id of the GPU is returned.

Return Value

If the device id is successfully returned, ADLX_OK is returned.

If the device id is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The device id is a predetermined value programmed into the GPU at the point of manufacturing and consists of four hexadecimal digits.

Additional Info

The returned memory buffer is valid within the lifetime of the IADLXGPU interface.

If the application uses the device id beyond the lifetime of the IADLXGPU interface, the application must make a copy of the device id.

Requirements

Headerinclude “ISystem.h”
Minimum version1.0

See Also: IADLXGPU