Skip to content

IsWindowsPowerModeEnabled

Navigation: ADLX SDK References → ADLX Interfaces → Display → IADLXDisplayVariBright1

Checks if Windows Power Mode Vari-Bright Scaling mode is enabled on a display.

Syntax

ADLX_RESULT    IsWindowsPowerModeEnabled (adlx_bool* enabled)

Parameters

#DirectionNameTypeDescription
1.[out]enabledadlx_bool*The pointer to a variable where the state of Windows Power Mode Vari-Bright Scaling mode is returned. The variable is true if Windows Power Mode Vari-Bright Scaling mode is enabled. The variable is false if Windows Power Mode Vari-Bright Scaling mode is not enabled.

Return Value

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

If the state of Windows Power Mode Vari-Bright Scaling mode is not successfully returned, 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