PFND3DWDDM2_0DDI_CHECKVIDEOPROCESSORFORMATCONVERSION callback function (d3d10umddi.h)
Indicates whether the driver supports a specific format/color-space conversion combination. This function must be implemented by Windows Display Driver Model (WDDM) 2.0 or later drivers.
Syntax
PFND3DWDDM2_0DDI_CHECKVIDEOPROCESSORFORMATCONVERSION Pfnd3dwddm20DdiCheckvideoprocessorformatconversion;
void Pfnd3dwddm20DdiCheckvideoprocessorformatconversion(
D3D10DDI_HDEVICE hDevice,
D3D11_1DDI_HVIDEOPROCESSORENUM hProcessorEnum,
D3DWDDM2_0DDI_CHECK_VIDEO_PROCESSOR_FORMAT_CONVERSION *pConversion
)
{...}
Parameters
hDevice
A handle to the display device (graphics context). The Direct3D runtime passed the user-mode driver this handle as the hDevice member of the D3DDDIARG_CREATEDEVICE structure at device creation.
hProcessorEnum
A handle to a video processor enumeration object that was created through a call to the CreateVideoProcessorEnum function.
pConversion
A pointer to a D3DWDDM2_0DDI_CHECK_VIDEO_PROCESSOR_FORMAT_CONVERSION structure that contains the input and output format/color-space combination.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Desktop |
Header | d3d10umddi.h (include D3d10umddi.h) |