SetBrightness

Sets the brightness on a display.

Syntax

Copied!

ADLX_RESULT     SetBrightness(adlx_int brightness)

Parameters

  1. [out] brightness adlx_int The new brightness value.

Return Value

If the brightness is successfully set, ADLX_OK is returned.

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