GetContrast

Gets the current color contrast of a display.

Syntax

Copied!

ADLX_RESULT     GetContrast(adlx_int* currentContrast)

Parameters

  1. [out] currentContrast adlx_int* The pointer to a variable where the current color contrast of the display is returned.

Return Value

If the current color contrast is successfully returned, ADLX_OK is returned.

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