CheckVideoProcessorFormat function

Queries whether the video processor supports a specified video format.


VOID APIENTRY* CheckVideoProcessorFormat(
  _In_  D3D10DDI_HDEVICE               hDevice,
  _In_  D3D11_1DDI_HVIDEOPROCESSORENUM hVideoProcessorEnum,
  _In_  DXGI_FORMAT                    Format,
  _Out_ UINT                           *pSupported


hDevice [in]

A handle to the display device (graphics context).

hVideoProcessorEnum [in]

A handle to a video processor enumeration object that was created through a call to the CreateVideoProcessorEnum function.

Format [in]

The video format to query.

pSupported [out]

Specifies a bitwise OR of zero or more flags from the D3D11_1DDI_VIDEO_PROCESSOR_FORMAT_SUPPORT enumeration. For more information, see the Remarks section.

Return value

This function does not return a value.


If the driver can support the format as an input format for the video processor, the driver sets the D3D11_1DDI_VIDEO_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT flag in the pSupported parameter.

If the driver can support the format as a video processing render target output format, the driver sets the D3D11_1DDI_VIDEO_FORMAT_SUPPORT_VIDEO_PROCESSOR_OUTPUT flag in the pSupported parameter.

If the driver can support neither, it must set the pSupported parameter to 0.


Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Target platform


D3d10umddi.h (include D3d10umddi.h)

See also




Send comments about this topic to Microsoft