DXGKARG_CREATECONTEXT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmddi-_dxgkarg_createcontext)

_DXGKARG_CREATECONTEXT structure

Description

The DXGKARG_CREATECONTEXT structure describes parameters to create a device context.

Members

hContext [out]

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.

NodeOrdinal [in]

The node that the context is created for.

EngineAffinity [in]

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

Flags [in]

A DXGK_CREATECONTEXTFLAGS structure that identifies how to create the context.

pPrivateDriverData [in]

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

PrivateDriverDataSize [in]

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

ContextInfo [out]

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

See also

DXGK_CONTEXTINFO

DXGK_CREATECONTEXTFLAGS

DxgkDdiCreateContext

DxgkDdiDestroyContext

DxgkDdiPresent

DxgkDdiRender