Skip to content

IsSupportedPixelFormat

Navigation: ADLX SDK ReferencesADLX InterfacesDisplayIADLXDisplayPixelFormat

Syntax

ADLX_RESULT    IsSupportedPixelFormat (ADLX_PIXEL_FORMAT pixelFormat, adlx_bool* supported)

Parameters

#DirectionNameTypeDescription
1.[in]pixelFormatADLX_PIXEL_FORMATThe pixel format.
#DirectionNameTypeDescription
---------------
1.[out]supportedadlx_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

Headerinclude “IDisplaySettings.h”
Minimum version1.0

See Also: ADLX Enums