GetValue 

Gets the current color format of a display.

Syntax 

ADLX_RESULT     GetValue(ADLX_COLOR_DEPTH * currentColorDepth)

Parameters 

  1. [out] currentColorDepth ADLX_COLOR_DEPTH* The pointer to a variable where the color format is returned.

Return Value 

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

If the current color format is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info 

Color format configuration is supported on some AMD GPUs if the display is connected to the GPU using Dual-Link DVI or DisplayPort cable.

Requirements 

Header

include “IDisplaySettings.h”

Minimum version

1.0