GetBrightness 

Gets the current brightness of a display.

Syntax 

ADLX_RESULT     GetBrightness(adlx_int* currentBrightness)

Parameters 

  1. [out] currentBrightness adlx_int* The pointer to a variable where the current brightness of the display is returned.

Return Value 

If the current brightness is successfully returned, ADLX_OK is returned.

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