IsSupportedPixelFormat

Checks if the given pixel format is supported on a display.

Syntax

Copied!

ADLX_RESULT     IsSupportedPixelFormat (ADLX_PIXEL_FORMAT  pixelFormat, adlx_bool* supported)

Parameters

  1. [in] pixelFormat ADLX_PIXEL_FORMAT The pixel format.

  1. [out] supported adlx_bool* The pointer to a variable where the support state of the pixel format is returned. The variable is true if the pixel format is supported. The variable is false if pixel format is not supported.

Return Value

If the support state of the pixel format is successfully returned, ADLX_OK is returned.

If the support state of the pixel format 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