D3DKMT_VIDSCH_ESCAPE structure (d3dkmthk.h)
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.
Syntax
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;
Members
Type
The escape type, of type D3DKMT_VIDSCHESCAPETYPE, which is reserved and should not be used in your driver.
PreemptionControl
Enable or disable preemption.
EnableContextDelay
Enable or disable context delay.
TdrControl2
TdrControl2.TdrControl
Control TDR.
TdrControl2.NodeOrdinal
Valid if TdrControl is set to a value of D3DKMT_TDRDBGCTRLTYPE_ENGINETDR.
SuspendScheduler
Suspend or resume scheduler (obsolete).
TdrControl
Control TDR.
SuspendTime
Time period to suspend.
TdrLimit
TdrLimit.Count
TdrLimit.Time
PfnControl
VirtualRefreshRateControl
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Header | d3dkmthk.h (include D3dkmthk.h) |