IsValidVRAMTuningStates

Checks the validity of listed VRAM tuning states on a GPU.

Syntax

Copied!

ADLX_RESULT     IsValidVRAMTuningStates (IADLXManualTuningStateList * pVRAMStates, adlx_int* errorIndex)

Parameters

  1. [in] pVRAMStates IADLXManualTuningStateList * The pointer to the VRAM states list interface.

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

Return Value

If IsValidVRAMTuningStates is successfully executed, ADLX_OK is returned.

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

Refer to ADLX_RESULT for success codes and error codes.

Remarks

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

Requirements

Header

include “IGPUManualVRAMTuning.h”

Minimum version

1.0