// d3dkmthk.h
typedef struct _D3DKMT_CREATEHWQUEUE {
D3DKMT_HANDLE hHwContext;
D3DDDI_CREATEHWQUEUEFLAGS Flags;
UINT PrivateDriverDataSize;
VOID *pPrivateDriverData;
D3DKMT_HANDLE hHwQueue;
D3DKMT_HANDLE hHwQueueProgressFence;
VOID *HwQueueProgressFenceCPUVirtualAddress;
D3DKMT_ALIGN64 D3DGPU_VIRTUAL_ADDRESS HwQueueProgressFenceGPUVirtualAddress;
} D3DKMT_CREATEHWQUEUE;
View the official Windows Driver Kit DDI referenceNo description available.
D3DKMT_CREATEHWQUEUE is the structure passed to D3DKMTCreateHwQueue and PFND3DKMT_CREATEHWQUEUE when creating a new hardware queue.
hHwContext[in] Handle to the hardware context that the queue belongs to.
Flags[in] A bit field of D3DDDI_CREATEHWQUEUEFLAGS values specifying the hardware queue creation flags.
PrivateDriverDataSize[in] Size of private driver data, in bytes.
pPrivateDriverData[in/out] Pointer to the private driver data.
hHwQueue[out] Handle to the created hardware queue object to submit work to.
hHwQueueProgressFence[out] Handle to the monitored fence object used to monitor the queue progress.
HwQueueProgressFenceCPUVirtualAddress[out] Read-only mapping of the queue progress fence value for the CPU.
HwQueueProgressFenceGPUVirtualAddress[out] Read/write mapping of the queue progress fence value for the GPU.