DXGKARG_CREATECONTEXT structure (d3dkmddi.h)

The DXGKARG_CREATECONTEXT structure describes parameters to create a device context.

Syntax

typedef struct _DXGKARG_CREATECONTEXT {
  [out] HANDLE                  hContext;
  [in]  UINT                    NodeOrdinal;
  [in]  UINT                    EngineAffinity;
  [in]  DXGK_CREATECONTEXTFLAGS Flags;
  [in]  VOID                    *pPrivateDriverData;
  [in]  UINT                    PrivateDriverDataSize;
  [out] DXGK_CONTEXTINFO        ContextInfo;
} DXGKARG_CREATECONTEXT;

Members

[out] hContext

A handle to the context that a display miniport driver returns from a call to its DxgkDdiCreateContext function. This handle represents the context in subsequent calls to the driver's DxgkDdiPresent, DxgkDdiRender, and DxgkDdiDestroyContext functions.

[in] NodeOrdinal

The node that the context is created for.

[in] EngineAffinity

The engine within the node that NodeOrdinal specifies that the context is created for.

[in] Flags

A DXGK_CREATECONTEXTFLAGS structure that identifies how to create the context.

[in] pPrivateDriverData

A pointer to a block of private data that is passed from the user-mode display driver to the display miniport driver.

[in] PrivateDriverDataSize

The size, in bytes, of the private data that pPrivateDriverData points to.

[out] ContextInfo

A DXGK_CONTEXTINFO structure that the display miniport driver populates to describe the device context.

Requirements

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

See also

DXGK_CONTEXTINFO

DXGK_CREATECONTEXTFLAGS

DxgkDdiCreateContext

DxgkDdiDestroyContext

DxgkDdiPresent

DxgkDdiRender