Bewerken

Delen via


PFND3D12DDI_CALCPRIVATEVIDEOPROCESSORSIZE_0032 callback function (d3d12umddi.h)

This method is used to calculate the driver object size. The D3D runtime allocates memory for storing the drivers CPU object that represents the video processor.

Syntax

PFND3D12DDI_CALCPRIVATEVIDEOPROCESSORSIZE_0032 Pfnd3d12ddiCalcprivatevideoprocessorsize0032;

SIZE_T Pfnd3d12ddiCalcprivatevideoprocessorsize0032(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_CREATE_VIDEO_PROCESSOR_0032 *pArgs
)
{...}

Parameters

hDrvDevice

The hardware device being processed.

pArgs

The arguments used to create a video processor.

Return value

Returns the size of the video processor in bytes.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header d3d12umddi.h