D3DKMT_CREATEHWCONTEXT structure (d3dkmthk.h)

A structure holding information to create a hardware context.

Syntax

typedef struct _D3DKMT_CREATEHWCONTEXT {
  D3DKMT_HANDLE               hDevice;
  UINT                        NodeOrdinal;
  UINT                        EngineAffinity;
  D3DDDI_CREATEHWCONTEXTFLAGS Flags;
  UINT                        PrivateDriverDataSize;
  VOID                        *pPrivateDriverData;
  D3DKMT_HANDLE               hHwContext;
} D3DKMT_CREATEHWCONTEXT;

Members

hDevice

Handle to the device owning this context.

NodeOrdinal

Identifier for the node targeted by this context.

EngineAffinity

Engine affinity within the specified node.

Flags

Context creation flags.

PrivateDriverDataSize

Size of private driver data.

pPrivateDriverData

Private driver data.

hHwContext

Handle of the created context.

Requirements

Requirement Value
Header d3dkmthk.h