// d3dkmthk.h
typedef struct _D3DKMT_VIDSCH_ESCAPE {
D3DKMT_VIDSCHESCAPETYPE Type;
union {
BOOL PreemptionControl;
BOOL EnableContextDelay;
struct {
ULONG TdrControl;
union {
ULONG NodeOrdinal;
};
} TdrControl2;
BOOL SuspendScheduler;
ULONG TdrControl;
ULONG SuspendTime;
struct {
UINT Count;
UINT Time;
} TdrLimit;
D3DKMT_ESCAPE_PFN_CONTROL_COMMAND PfnControl;
};
D3DKMT_ESCAPE_VIRTUAL_REFRESH_RATE VirtualRefreshRateControl;
} D3DKMT_VIDSCH_ESCAPE;
View the official Windows Driver Kit DDI referenceNo description available.
Do not use the D3DKMT_VIDSCH_ESCAPE structure; it is for testing purposes only.
The D3DKMT_VIDSCH_ESCAPE structure describes how to control the graphics processing unit (GPU) scheduler (which is part of Dxgkrnl.sys) in a call to the D3DKMTEscape function.
TypeThe escape type, of type D3DKMT_VIDSCHESCAPETYPE, which is reserved and should not be used in your driver.
PreemptionControlEnable or disable preemption.
EnableContextDelayEnable or disable context delay.
TdrControl2TdrControl2.TdrControlControl TDR.
TdrControl2.NodeOrdinalValid if TdrControl is set to a value of D3DKMT_TDRDBGCTRLTYPE_ENGINETDR.
SuspendSchedulerSuspend or resume scheduler (obsolete).
TdrControlControl TDR.
SuspendTimeTime period to suspend.
TdrLimitTdrLimit.CountTdrLimit.TimePfnControl