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