Skip to content

SetWindowsPowerModeEnabled

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayVariBright1

Syntax

ADLX_RESULT    SetWindowsPowerModeEnabled (adlx_bool enable)

Parameters

#DirectionNameTypeDescription
1.[in]enableadlx_boolThe new Windows Power Mode Vari-Bright Scaling mode state. Set true to enable Windows Power Mode Vari-Bright Scaling mode. Set false to disable Windows Power Mode Vari-Bright Scaling mode.

Return Value

If the state of Windows Power Mode Vari-Bright Scaling mode is successfully set, ADLX_OK is returned.

If the state of Windows Power Mode Vari-Bright Scaling mode 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