// d3dkmthk.h
typedef struct _D3DKMT_CREATECONTEXTVIRTUAL {
D3DKMT_HANDLE hDevice;
UINT NodeOrdinal;
UINT EngineAffinity;
D3DDDI_CREATECONTEXTFLAGS Flags;
VOID *pPrivateDriverData;
UINT PrivateDriverDataSize;
D3DKMT_CLIENTHINT ClientHint;
D3DKMT_HANDLE hContext;
} D3DKMT_CREATECONTEXTVIRTUAL;
View the official Windows Driver Kit DDI referenceNo description available.
D3DKMT_CREATECONTEXTVIRTUAL is used with D3DKMTCreateContextVirtual to create a kernel-mode device context that supports virtual addressing.
hDevice[in] A handle to the device that owns the context being created.
NodeOrdinal[in] The zero-based index for the node that the context is scheduled on.
EngineAffinity[in] The zero-based index for the engine, within the node that NodeOrdinal specifies, that the context can run in.
Flags[in] A D3DDDI_CREATECONTEXTFLAGS structure that indicates, in bit-field flags, how to create the context.
pPrivateDriverData[in] A pointer to private data that is passed to a display miniport driver.
PrivateDriverDataSize[in] The size, in bytes, of the private data that pPrivateDriverData points to.
ClientHint[in] A hint describing which graphics subsystem is creating the context.
hContext[out] A handle to the created device context.