PFND3D12DDI_CREATEVIDEOPROCESSOR_0072 callback function (d3d12umddi.h)

The pfnCreateVideoProcessor callback function creates a video processor.

Syntax

PFND3D12DDI_CREATEVIDEOPROCESSOR_0072 Pfnd3d12ddiCreatevideoprocessor0072;

HRESULT Pfnd3d12ddiCreatevideoprocessor0072(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_CREATE_VIDEO_PROCESSOR_0072 *pArgs,
  D3D12DDI_HVIDEOPROCESSOR_0020 hDrvVideoProcessor
)
{...}

Parameters

hDrvDevice

A handle to the display device (graphics context).

pArgs

A D3D12DDIARG_CREATE_VIDEO_PROCESSOR_0072 structure with arguments used to create a video processor.

hDrvVideoProcessor

The video processor.

Return value

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Register your implementation of this callback function by setting the appropriate member of D3D12DDIARG_CREATE_VIDEO_PROCESSOR_0072 and then calling Pfnd3d12ddiCreatevideoprocessor0072.

See the D3D Video Protected Resource Support Specification for more information.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Header d3d12umddi.h

See also

D3D12DDIARG_CREATE_VIDEO_PROCESSOR_0072