Export (0) Print
Expand All
Expand Minimize

DXGK_CREATECONTEXTFLAGS structure

The DXGK_CREATECONTEXTFLAGS structure identifies how to create contexts.

Syntax


typedef struct _DXGK_CREATECONTEXTFLAGS {
  union {
    struct {
      UINT SystemContext  :1;
      UINT GdiContext  :1;
      UINT Reserved  :30;
    };
    UINT Value;
  };
} DXGK_CREATECONTEXTFLAGS;

Members

SystemContext

A UINT value that specifies whether contexts that a driver's DxgkDdiCreateContext function creates are system contexts for the engine that the EngineAffinity member of the DXGKARG_CREATECONTEXT structure specifies. A system context is created for the paging engine only.

Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).

GdiContext

A UINT value that specifies whether the contexts that a driver's DxgkDdiCreateContext function creates are GDI-specific contexts for the engine that the EngineAffinity member of the DXGKARG_CREATECONTEXT structure specifies.

Setting this member is equivalent to setting the second bit of the 32-bit Value member (0x00000002).

This member is available beginning with Windows 7.

Reserved

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 30 bits (0xFFFFFFFD) of the 32-bit Value member to zeros.

Value

A member in the union that DXGK_CREATECONTEXTFLAGS contains that can hold a 32-bit value that identifies how to create contexts.

Requirements

Version

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

Header

D3dkmddi.h (include D3dkmddi.h)

See also

DXGKARG_CREATECONTEXT
DxgkDdiCreateContext

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft