Gets the ADL Adapter index corresponding to the GPU with the specified IADLXGPU interface.
ADLX_RESULT AdlAdapterIndexFromADLXGPU (IADLXGPU * ppGPU, adlx_int* adlAdapterIndex)
[in]pGPU IADLXGPU* The pointer to the GPU interface.
[out]adlAdapterIndex adlx_int* The pointer to a variable where ADL adapter index of the requested GPU is returned.
If the ADL adapter index is successfully returned, ADLX_OK is returned.
If the ADL Adapter index is not returned, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.
AdlAdapterIndexFromADLXGPU is used when an ADL function must be called for a GPU obtained from ADLX, and the ADL adapter index is required for that ADL function.