Skip to content

SetEnabled

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayDynamicRefreshRateControl

Syntax

ADLX_RESULT    SetEnabled (adlx_bool enable)

Parameters

#DirectionNameTypeDescription
1.[in]enableadlx_boolThe new Dynamic Refresh Rate Control state. Set true to enable Dynamic Refresh Rate Control. Set false to disable Dynamic Refresh Rate Control.

Return Value

If the state of Dynamic Refresh Rate Control is successfully set, ADLX_OK is returned.

If the state of Dynamic Refresh Rate Control is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Headerinclude “IDisplaySettings.h”
Minimum version1.4

See Also: ADLX Enums