Bewerken

Delen via


PFND3D12DDI_CALCPRIVATEVIDEOPROCESSORSIZE_0043 callback function (d3d12umddi.h)

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

Syntax

PFND3D12DDI_CALCPRIVATEVIDEOPROCESSORSIZE_0043 Pfnd3d12ddiCalcprivatevideoprocessorsize0043;

SIZE_T Pfnd3d12ddiCalcprivatevideoprocessorsize0043(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_CREATE_VIDEO_PROCESSOR_0043 *pArgs
)
{...}

Parameters

hDrvDevice

A handle to the display device (graphics context).

pArgs

The arguments used to create a video processor.

Return value

Returns the size of the video processor in bytes.

Requirements

Requirement Value
Header d3d12umddi.h