Indicates whether the format is supported by the device context. The formats supported are usually determined by the underlying hardware.
BOOL IsDxgiFormatSupported( DXGI_FORMAT format );
The DXGI format to check.
Returns TRUE if the format is supported. Returns FALSE if the format is not supported.
You can use supported formats in the D2D1_PIXEL_FORMAT structure to create bitmaps and render targets.
Direct2D doesn't support all DXGI formats, even though they may have some level of Direct3D support by the hardware.
|Minimum supported client||Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]|