Skip to content

ProductName

Navigation: ADLX SDK ReferencesADLX InterfacesGPUIADLXGPU1

Syntax

ADLX_RESULT    ProductName (const char** productName)

Parameters

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

Return Value

If the productName string is successfully returned, ADLX_OK is returned.

If the productName string is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

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

If the application uses the productName string beyond the lifetime of the IADLXGPU1 interface, the application must make a copy of the productName string.

Requirements

Headerinclude “ISystem1.h”
Minimum version1.2

See Also: IADLXGPU1