PFND3D12DDI_CALCPRIVATECOMMANDQUEUESIZE_0050 callback function (d3d12umddi.h)

The PFND3D12DDI_CALCPRIVATECOMMANDQUEUESIZE_0050 callback function is used to calculate the size of a private command queue.

Syntax

PFND3D12DDI_CALCPRIVATECOMMANDQUEUESIZE_0050 Pfnd3d12ddiCalcprivatecommandqueuesize0050;

SIZE_T Pfnd3d12ddiCalcprivatecommandqueuesize0050(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_CREATECOMMANDQUEUE_0050 *unnamedParam2
)
{...}

Parameters

unnamedParam1

The handle of a device.

unnamedParam2

In CreateCommandQueue

Pointer to a D3D12DDIARG_CREATECOMMANDQUEUE_0050 structure used to create a command queue.

Return value

Returns SIZE_T that represents the size of the queue.

Remarks

Access this callback function by using a device functions core structure, such as the D3D12DDI_DEVICE_FUNCS_CORE_0050 structure.

Requirements

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