// d3dkmddi.h
typedef struct _DXGKARG_SETCONTEXTSCHEDULINGPROPERTIES {
HANDLE hContext;
DXGK_SCHEDULING_PRIORITY_BAND priorityBand;
INT realtimeBandPriorityLevel;
INT inProcessPriority;
UINT64 quantum;
UINT64 gracePeriodSamePriority;
UINT64 gracePeriodLowerPriority;
} DXGKARG_SETCONTEXTSCHEDULINGPROPERTIES;
View the official Windows Driver Kit DDI referenceNo description available.
Contains arguments used in the DxgkddiSetContextSchedulingProperties callback function.
hContextThe hardware context to change the priority band of.
priorityBandThe priority band value assigned to this context. Assigning a context to focus and realtime priority bands requires the calling process to have SE_INC_BASE_PRIORITY_NAME privilege.
realtimeBandPriorityLevelWhen the context belongs to the realtime scheduling priority band, this value indicates the priority level (0...31) within the realtime band. For all other bands, this value is ignored.
inProcessPriorityThe process wide priority value, relative to other contexts of the same priority within the same process. Values range from -7 to +7. The default in process priority value is zero.
quantumThe context quantum value in 100ns units, relative to other contexts of the same priority within the same process.
gracePeriodSamePriorityThe grace period value in 100ns units when this context preempts another context of the same priority within the same process.
gracePeriodLowerPriorityThe grace period value in 100ns units when this context preempts another context of a lower priority within the same process. gracePeriodLowerPriority is typically smaller than gracePeriodSamePriority.
DxgkddiSetContextSchedulingProperties