DXGK_CREATECONTEXTFLAGS structure (d3dkmddi.h)

The DXGK_CREATECONTEXTFLAGS structure identifies how to create contexts.

Syntax

typedef struct _DXGK_CREATECONTEXTFLAGS {
  union {
    struct {
      UINT SystemContext : 1;
      UINT GdiContext : 1;
      UINT VirtualAddressing : 1;
      UINT SystemProtectedContext : 1;
      UINT HwQueueSupported : 1;
#if ...
      UINT Reserved : 27;
#elif
      UINT Reserved : 28;
#elif
      UINT Reserved : 29;
#else
      UINT Reserved : 30;
#endif
    };
    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.

VirtualAddressing

A UINT value that specifies whether the contexts that a driver's DxgkDdiCreateContext function creates use virtual addressing.

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

Supported starting with Windows 10.

SystemProtectedContext

A UINT value that specifies whether the context being used to modify the VPR will have access to allocations outside the VPR.

Supported starting with Windows 10.

HwQueueSupported

Reserved

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 28 bits (0xFFFFFFFB) 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

Requirement Value
Minimum supported client Windows Vista
Header d3dkmddi.h (include D3dkmddi.h)

See also

DXGKARG_CREATECONTEXT

DxgkDdiCreateContext