IsBrightnessSupported

Checks if customization of brightness is supported on a display.

Syntax

Copied!

ADLX_RESULT     IsBrightnessSupported (adlx_bool* supported)

Parameters

  1. [out] supported adlx_bool* The pointer to a variable where the state of brightness is returned. The variable is true if customization of brightness is supported. The variable is false if customization of brightness is not supported.

Return Value

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

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