Skip to content

GetContrast

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayCustomColor

Syntax

ADLX_RESULT    GetContrast(adlx_int* currentContrast)

Parameters

#DirectionNameTypeDescription
1.[out]currentContrastadlx_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

Headerinclude “IDisplaySettings.h”
Minimum version1.0