GetValue

Gets the current pixel format of a display.

Syntax

Copied!

ADLX_RESULT     GetValue(ADLX_PIXEL_FORMAT * pixelFormat)

Parameters

  1. [out] pixelFormat ADLX_PIXEL_FORMAT * The pointer to a variable where the pixel format is returned.

Return Value

If the pixel format is successfully returned, ADLX_OK is returned.

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

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

The pixel format is configurable if the display is connected to the GPU using direct HDMI™-HDMI.

Pixel format configuration is not supported for DVI-HDMI and DisplayPort-HDMI connections.

Requirements

Header

include “IDisplaySettings.h”

Minimum version

1.0