// 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 referenceNo description available.
The DXGKARG_CREATECONTEXT structure describes parameters to create a device context.
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.