PFND3D12DDI_CREATEHWQUEUE_CB_0050 callback function (d3d12umddi.h)

Creates a hardware queue associated with a command queue.

Syntax

PFND3D12DDI_CREATEHWQUEUE_CB_0050 Pfnd3d12ddiCreatehwqueueCb0050;

HRESULT Pfnd3d12ddiCreatehwqueueCb0050(
  D3D12DDI_HRTCOMMANDQUEUE hRTCommandQueue,
  D3DDDICB_CREATEHWQUEUE *unnamedParam2
)
{...}

Parameters

hRTCommandQueue

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

unnamedParam2

Pointer to a D3DDDICB_CREATEHWQUEUE structure that contains information needed to create a hardware queue.

Return value

Returns HRESULT.

Remarks

Destroys are not provided for these objects, as their lifetime is completely managed by the owning runtime object. Validation will be in place that hardware queue creation must be done against a context either associated with the same command queue, or with a parent scheduling group. The driver is allowed to create hardware queues which reference both types of contexts for a single CreateCommandQueue. The CreateCommandQueue callback is reviewed so the driver is informed of this relationship.

Requirements

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