// d3d12umddi.h
PFND3D12DDI_CREATEHWQUEUE_CB_0050 Pfnd3d12ddiCreatehwqueueCb0050;
HRESULT Pfnd3d12ddiCreatehwqueueCb0050(
D3D12DDI_HRTCOMMANDQUEUE hRTCommandQueue,
D3DDDICB_CREATEHWQUEUE *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Creates a hardware queue associated with a command queue.
hRTCommandQueueThe handle of the command queue for the driver to use when it calls back into the runtime.
unnamedParam2Pointer to a D3DDDICB_CREATEHWQUEUE structure that contains information needed to create a hardware queue.
Returns HRESULT.
//Declaration
PFND3D12DDI_CREATEHWQUEUE_CB_0050 Pfnd3d12ddiCreatehwqueueCb0050;
// Definition
HRESULT Pfnd3d12ddiCreatehwqueueCb0050
(
D3D12DDI_HRTCOMMANDQUEUE hRTCommandQueue
D3DDDICB_CREATEHWQUEUE *
)
{...}
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.