PFND3D12DDI_CREATEHWQUEUE_CB_0050 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

PFND3D12DDI_CREATEHWQUEUE_CB_0050 Pfnd3d12ddiCreatehwqueueCb0050;

HRESULT Pfnd3d12ddiCreatehwqueueCb0050(
  D3D12DDI_HRTCOMMANDQUEUE hRTCommandQueue,
  D3DDDICB_CREATEHWQUEUE *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d12umddi-pfnd3d12ddi_createhwqueue_cb_0050)

PFND3D12DDI_CREATEHWQUEUE_CB_0050 callback function

Description

Creates a hardware queue associated with a command queue.

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.

Prototype

//Declaration

PFND3D12DDI_CREATEHWQUEUE_CB_0050 Pfnd3d12ddiCreatehwqueueCb0050;

// Definition

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

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.

See also