PFND3D12DDI_CREATEVIDEODECODERHEAP_0072 callback function (d3d12umddi.h)

A client driver's PFND3D12DDI_CREATEVIDEODECODERHEAP_0072 creates a video decoder heap.

Syntax

PFND3D12DDI_CREATEVIDEODECODERHEAP_0072 Pfnd3d12ddiCreatevideodecoderheap0072;

HRESULT Pfnd3d12ddiCreatevideodecoderheap0072(
  [in]  D3D12DDI_HDEVICE hDrvDevice,
  [in]  const D3D12DDIARG_CREATE_VIDEO_DECODER_HEAP_0072 *unnamedParam2,
  [out] D3D12DDI_HVIDEODECODERHEAP_0032 hDrvVideoDecoderHeap
)
{...}

Parameters

[in] hDrvDevice

Handle to the D3D12 device.

[in] unnamedParam2

Pointer to a D3D12DDIARG_CREATE_VIDEO_DECODER_HEAP_0072 structure with the arguments used to create a video decoder heap.

[out] hDrvVideoDecoderHeap

Handle to the created video decoder heap.

Return value

Returns an HRESULT value.

Remarks

See the Video Protected Resource Support specification for more information.

Requirements

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

See also

D3D12DDIARG_CREATE_VIDEO_DECODER_HEAP_0072