Развернуть Свернуть

DXGKARG_CREATECONTEXT structure

The DXGKARG_CREATECONTEXT structure describes parameters to create a device context.

Syntax


typedef struct _DXGKARG_CREATECONTEXT {
  HANDLE                  hContext;
  UINT                    NodeOrdinal;
  UINT                    EngineAffinity;
  DXGK_CREATECONTEXTFLAGS Flags;
  VOID                    *pPrivateDriverData;
  UINT                    PrivateDriverDataSize;
  DXGK_CONTEXTINFO        ContextInfo;
} DXGKARG_CREATECONTEXT;

Members

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.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

See also

DXGK_CONTEXTINFO
DXGK_CREATECONTEXTFLAGS
DxgkDdiCreateContext
DxgkDdiDestroyContext
DxgkDdiPresent
DxgkDdiRender

 

 

Send comments about this topic to Microsoft

Показ:
© 2014 Microsoft