// d3dkmddi.h
typedef struct _DXGKARG_PREEMPTCOMMAND {
[in] UINT PreemptionFenceId;
[in] UINT NodeOrdinal;
[in] UINT EngineOrdinal;
[in] DXGK_PREEMPTCOMMANDFLAGS Flags;
} DXGKARG_PREEMPTCOMMAND;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGKARG_PREEMPTCOMMAND structure describes a command that a display miniport driver must use to preempt a direct memory access (DMA) buffer that the DxgkDdiSubmitCommand function previously submitted to the hardware command execution unit.
PreemptionFenceId [in]A unique identifier that the display miniport driver must patch into the fence command at the end of the DMA buffer to preempt the previously submitted DMA buffer. The display miniport driver uses the identifier in a call to the DxgkCbNotifyDpc function to inform the graphics processing unit (GPU) scheduler about the preemption at deferred-procedure-call (DPC) time.
NodeOrdinal [in]The index of the node for the preemption request.
EngineOrdinal [in]The index of the engine for the preemption request.
Flags [in]A DXGK_PREEMPTCOMMANDFLAGS structure with a reserved member or a 32-bit value. No flags are currently defined for this structure.