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;
UINT TestContext : 1;
#if ...
UINT Reserved : 26;
#elif
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.
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.
This member is available beginning with Windows 7.
VirtualAddressing
Specifies whether the contexts that a driver's DxgkDdiCreateContext function creates use virtual addressing.
Supported starting with Windows 10.
SystemProtectedContext
Specifies whether the context being used to modify the VPR will have access to allocations outside the VPR.
Supported starting with Windows 10.
HwQueueSupported
Specifies whether the context supports hardware queues.
TestContext
Specifies whether the context is a test context for Kernel-mode testing. Available starting with Windows 11, version 24H2 (WDDM 3.2).
Reserved
This member is reserved and should be set to zero.
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) |