Checks if the given pixel format is supported on a display.
ADLX_RESULT IsSupportedPixelFormat (ADLX_PIXEL_FORMAT pixelFormat, adlx_bool* supported)
[in]pixelFormat ADLX_PIXEL_FORMAT The pixel format.
[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.
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.