SetEnabled

Sets the Vari-Bright to enabled or disabled on a display.

Syntax

Copied!

ADLX_RESULT     SetEnabled (adlx_bool enable)

Parameters

  1. [in] enable adlx_bool The new Vari-Bright state. Set true to enable Vari-Bright. Set false to disable Vari-Bright.

Return Value

If the state of Vari-Bright is successfully set, ADLX_OK is returned.

If the state of Vari-Bright is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Header

include “IDisplaySettings.h”

Minimum version

1.0