Bewerken

Delen via


D3DKMT_CREATECONTEXTVIRTUAL structure (d3dkmthk.h)

D3DKMT_CREATECONTEXTVIRTUAL is used with D3DKMTCreateContextVirtual to create a kernel-mode device context that supports virtual addressing.

Syntax

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;

Members

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.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DDDI_CREATECONTEXTFLAGS

D3DKMTCreateContextVirtual