Expand Minimize

D3DKMT_VIDSCH_ESCAPE structure

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;
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WIN8)
    BOOL   EnableContextDelay;
    struct {
      ULONG TdrControl;
      union {
        ULONG NodeOrdinal;
      };
    } TdrControl2;
#endif 
    BOOL   SuspendScheduler;
    ULONG  TdrControl;
    ULONG  SuspendTime;
  };
} D3DKMT_VIDSCH_ESCAPE;

Members

Type

The escape type, of type D3DKMT_VIDSCHESCAPETYPE, which is reserved and should not be used in your driver.


typedef enum _D3DKMT_VIDSCHESCAPETYPE
{
    D3DKMT_VIDSCHESCAPETYPE_PREEMPTIONCONTROL   = 0, //Enable/Disable preemption
    D3DKMT_VIDSCHESCAPETYPE_SUSPENDSCHEDULER    = 1, //Suspend/Resume scheduler (obsolete)
    D3DKMT_VIDSCHESCAPETYPE_TDRCONTROL          = 2, //TDR control
    D3DKMT_VIDSCHESCAPETYPE_SUSPENDRESUME       = 3, //Suspend/Resume scheduler
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WIN8)
    D3DKMT_VIDSCHESCAPETYPE_ENABLECONTEXTDELAY  = 4, //Enable/Disable context delay
#endif
} D3DKMT_VIDSCHESCAPETYPE;

PreemptionControl

Enable or disable preemption.

EnableContextDelay

Enable or disable context delay.

TdrControl2
TdrControl

Control TDR.

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.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmthk.h (include D3dkmthk.h)

See also

D3DKMT_ESCAPE
D3DKMTEscape

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft