IsCurrentOptimizeBrightness

Checks if the optimized brightness Vari-Bright preset is used on a display.

Syntax

Copied!

ADLX_RESULT     IsCurrentOptimizeBrightness (adlx_bool* optimizeBrightness)

Parameters

  1. [out] optimizeBrightness adlx_bool* The pointer to a variable where the state of the optimized brightness preset is returned. The variable is true if the optimized brightness preset is used. The variable is false if the optimized brightness preset is not used.

Return Value

If the state of optimized brightness preset is successfully returned, ADLX_OK is returned.

If the state of optimized brightness preset 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