Bewerken

Delen via


D3DDDICB_CREATECONTEXTVIRTUAL structure (d3dumddi.h)

D3DDDICB_CREATECONTEXTVIRTUAL is used with pfnCreateContextVirtualCb to create contexts that support virtual addressing.

Syntax

typedef struct _D3DDDICB_CREATECONTEXTVIRTUAL {
  [in]  UINT                      NodeOrdinal;
  [in]  UINT                      EngineAffinity;
  [in]  D3DDDI_CREATECONTEXTFLAGS Flags;
  [in]  VOID                      *pPrivateDriverData;
  [in]  UINT                      PrivateDriverDataSize;
  [out] HANDLE                    hContext;
} D3DDDICB_CREATECONTEXTVIRTUAL;

Members

[in] NodeOrdinal

The zero-based index for the node that the context is scheduled on.

[in] EngineAffinity

The zero-based index for the engine, within the node that NodeOrdinal specifies, that the context can run in.

[in] Flags

A D3DDDI_CREATECONTEXTFLAGS structure that indicates, in bit-field flags, how to create the context.

[in] pPrivateDriverData

A pointer to private data that is passed to a display miniport driver.

[in] PrivateDriverDataSize

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

[out] hContext

A handle to the context that the pfnCreateContextVirtualCb function creates.

Requirements

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

See also

D3DDDI_CREATECONTEXTFLAGS

pfnCreateContextVirtualCb