SetValue

Sets the pixel format on a display.

Syntax

Copied!

ADLX_RESULT     SetValue(ADLX_PIXEL_FORMAT  pixelFormat)

Parameters

  1. [in] pixelFormat ADLX_PIXEL_FORMAT The new pixel format.

Return Value

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

If the pixel format is not successfully set, 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