Skip to content

IsValidGPUTuningStates

Navigation: ADLX SDK ReferencesADLX InterfacesGPU TuningIADLXManualGraphicsTuning1

Syntax

ADLX_RESULT    IsValidGPUTuningStates (IADLXManualTuningStateList* pGFXStates, adlx_int* errorIndex)

Parameters

#DirectionNameTypeDescription
1.[in]pGFXStatesIADLXManualTuningStateListThe pointer to the GPU states list interface.
#DirectionNameTypeDescription
---------------
2.[out]errorIndexadlx_int*The pointer to a variable where the invalid states index is returned.

Return Value

If IsValidGPUTuningStates is successfully executed, ADLX_OK is returned.

If IsValidGPUTuningStates is not successfully executed, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

Some GPUs allow multiple GPU tuning states. Each GPU tuning state is represented by the GPU clock speed and the GPU voltage.

Remarks

If the *pGFXStates is valid then the method sets the errorIndex to -1.

Requirements

Headerinclude “IGPUManualGFXTuning.h”
Minimum version1.0

See Also: IADLXManualTuningStateList, ADLX Enums