// d3dkmddi.h
typedef struct _DXGKARG_RENDERGDI {
const VOID *pCommand;
UINT CommandLength;
VOID *pDmaBuffer;
D3DGPU_VIRTUAL_ADDRESS DmaBufferGpuVirtualAddress;
UINT DmaSize;
VOID *pDmaBufferPrivateData;
UINT DmaBufferPrivateDataSize;
DXGK_ALLOCATIONLIST *pAllocationList;
UINT AllocationListSize;
UINT MultipassOffset;
} DXGKARG_RENDERGDI;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGKARG_RENDERGDI structure is used when submitting Windows Graphics Device Interface (GDI) commands for contexts that support virtual addressing.
pCommandA pointer to the start of the command buffer.
CommandLengthThe size, in bytes, of the command buffer that pCommand points to.
pDmaBufferA pointer to the start of the DMA buffer, which is aligned on 4 KB.
DmaBufferGpuVirtualAddressA D3DGPU_VIRTUAL_ADDRESS data type that indicates the virtual address where the DMA buffer was paged in. If the physical address is zero, the DMA buffer is not correctly paged in.
DmaSizeThe size, in bytes, of the DMA buffer that pDmaBuffer points to.
pDmaBufferPrivateDataA pointer to a driver-resident private data structure that is used for generating the DMA buffer that pDmaBuffer points to.
DmaBufferPrivateDataSizeThe number of bytes that remain in the private data structure that pDmaBufferPrivateData points to for the current operation.
pAllocationListAn array of DXGK_ALLOCATIONLIST structures for the list of allocations that the DMA buffer references. Each allocation that is referenced should appear once for optimal performance.
AllocationListSizeThe available number of elements in the array that pAllocationList specifies, which represents the number of allocation specifications to send through DMA to the graphics hardware.
MultipassOffsetA value that specifies the progress of the rendering operation.