PFND3D12DDI_CREATECOMMANDQUEUE_0023 callback function (d3d12umddi.h)

The pfnCreateCommandQueue callback function is used to create command queue.

Syntax

PFND3D12DDI_CREATECOMMANDQUEUE_0023 Pfnd3d12ddiCreatecommandqueue0023;

HRESULT Pfnd3d12ddiCreatecommandqueue0023(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_CREATECOMMANDQUEUE_0023 *unnamedParam2,
  D3D12DDI_HCOMMANDQUEUE unnamedParam3,
  D3D12DDI_HRTCOMMANDQUEUE unnamedParam4
)
{...}

Parameters

unnamedParam1

The handle of a device.

unnamedParam2

An argument used to create a command queue.

unnamedParam3

The handle of the command queue for the driver to use when it calls back into the runtime.

unnamedParam4

Return value

If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

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

Requirements

Requirement Value
Target Platform Windows
Header d3d12umddi.h (include D3d12umddi.h)