DXGKARG_SETCONTEXTSCHEDULINGPROPERTIES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-_dxgkarg_setcontextschedulingproperties)

_DXGKARG_SETCONTEXTSCHEDULINGPROPERTIES structure

Description

Contains arguments used in the DxgkddiSetContextSchedulingProperties callback function.

Members

hContext

The hardware context to change the priority band of.

priorityBand

The 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.

realtimeBandPriorityLevel

When 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.

inProcessPriority

The 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.

quantum

The context quantum value in 100ns units, relative to other contexts of the same priority within the same process.

gracePeriodSamePriority

The grace period value in 100ns units when this context preempts another context of the same priority within the same process.

gracePeriodLowerPriority

The 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.

See also

DxgkddiSetContextSchedulingProperties