SetContrast 

Sets the color contrast on a display.

Syntax 

ADLX_RESULT     SetContrast(adlx_int contrast)

Parameters 

  1. [out] contrast adlx_int The new color contrast value.

Return Value 

If the color contrast value is successfully set, ADLX_OK is returned.

If the color contrast value 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