Name
Gets the name of a GPU.
Syntax
ADLX_RESULT Name (const char** name)
Parameters
-
[out]
name const char** The pointer to a zero-terminated string where the name of the GPU is returned.
Return Value
If the name is successfully returned, ADLX_OK is returned.
If the name 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 IADLXGPU interface.
If the application uses the name beyond the lifetime of the IADLXGPU interface, the application must make a copy of the name.
Requirements
Header |
include “ISystem.h” |
Minimum version |
1.0 |