// d3dkmthk.h
typedef struct _D3DKMT_SUBMITCOMMAND {
D3DKMT_ALIGN64 D3DGPU_VIRTUAL_ADDRESS Commands;
UINT CommandLength;
D3DKMT_SUBMITCOMMANDFLAGS Flags;
D3DKMT_ALIGN64 ULONGLONG PresentHistoryToken;
UINT BroadcastContextCount;
D3DKMT_HANDLE BroadcastContext[D3DDDI_MAX_BROADCAST_CONTEXT];
VOID *pPrivateDriverData;
UINT PrivateDriverDataSize;
UINT NumPrimaries;
D3DKMT_HANDLE WrittenPrimaries[D3DDDI_MAX_WRITTEN_PRIMARIES];
UINT NumHistoryBuffers;
D3DKMT_HANDLE *HistoryBufferArray;
} D3DKMT_SUBMITCOMMAND;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_SUBMITCOMMAND structure is used to submit command buffers on contexts that support graphics processing unit (GPU) virtual addressing.
CommandsThe GPU virtual address for the commands being submitted to the context for execution. This information is provided to the driver during command submission and is also used for debugging purposes.
CommandLengthSpecifies the length, in bytes, of the commands being submitted to the GPU.
FlagsAn instance of the D3DDDICB_SUBMITCOMMANDFLAGS structure.
PresentHistoryTokenThis member is reserved for future use.
BroadcastContextCountSpecifies the number of context these command should be submitted to. This count must be at least 1.
BroadcastContextSpecifies the handle of the context to execute the specified commands.
pPrivateDriverDataPointer to the driver private data to submitted by the user mode driver.
PrivateDriverDataSizeSize of the private driver data information being passed. This size must be smaller than the size requested by the kernel mode driver for submission private driver data or the call will fail.
NumPrimariesSpecifies the number of primaries and swapchain back buffers being written to by the submitted commands. This is equal to the number of allocations in the WrittenPrimaries array.
WrittenPrimariesArrays of handle to the primaries and swapchain back buffers being written to by the submitted commands.
NumHistoryBuffersThis member is reserved for future use.
HistoryBufferArrayThis member is reserved for future use.