PFND3D12DDI_CREATEVIDEODECODER_0072 callback function (d3d12umddi.h)

A client driver's PFND3D12DDI_CREATEVIDEODECODER_0072 callback function creates a video decoder.

Syntax

PFND3D12DDI_CREATEVIDEODECODER_0072 Pfnd3d12ddiCreatevideodecoder0072;

HRESULT Pfnd3d12ddiCreatevideodecoder0072(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_CREATE_VIDEO_DECODER_0072 *pArgs,
  D3D12DDI_HVIDEODECODER_0020 hDrvVideoDecoder
)
{...}

Parameters

hDrvDevice

[in] Handle for the D3D12 device.

pArgs

[in] Pointer to a D3D12DDIARG_CREATE_VIDEO_DECODER_0072 structure with arguments to create this video decoder object.

hDrvVideoDecoder

[out] Handle to the created video decoder object.

Return value

Returns an HRESULT value.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (WDDM 2.8)
Target Platform Windows
Header d3d12umddi.h

See also

D3D12DDIARG_CREATE_VIDEO_DECODER_0072