IsValidFanTuningStates 

Checks if each GPU fan tuning state in a list is valid on a GPU.

Syntax 

ADLX_RESULT     IsValidFanTuningStates (IADLXManualFanTuningStateList * pStates, adlx_int* errorIndex)

Parameters 

  1. [in] pStates IADLXManualFanTuningStateList* The pointer to the GPU fan tuning states list interface.

  2. [out] errorIndex adlx_int* The pointer to a variable where the invalid states index is returned.

Return Value 

If IsValidFanTuningStates is successfully executed, ADLX_OK is returned.

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

Refer to ADLX_RESULT for success codes and error codes.

Remarks 

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

Requirements 

Header

include “IGPUManualFanTuning.h”

Minimum version

1.0