IsEnabled

Checks if Vari-Bright is enabled on a display.

Syntax

Copied!

ADLX_RESULT     IsEnabled (adlx_bool* enabled)

Parameters

  1. [out] enabled adlx_bool* The pointer to a variable where the state of Vari-Bright is returned. The variable is true if Vari-Bright is enabled. The variable is false if Vari-Bright is not enabled.

Return Value

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

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

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Header

include “IDisplaySettings.h”

Minimum version

1.0