ProductName

Gets the product name of a GPU.

Syntax

Copied!

ADLX_RESULT     ProductName (const char** productName)

Parameters

  1. [out] productName const 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

Header

include “ISystem1.h”

Minimum version

1.2