D3D10DDI_ADAPTERFUNCS structure

The D3D10DDI_ADAPTERFUNCS structure contains functions that the user-mode display driver can implement to communicate with a graphics adapter object.

Syntax


typedef struct D3D10DDI_ADAPTERFUNCS {
  PFND3D10DDI_CALCPRIVATEDEVICESIZE pfnCalcPrivateDeviceSize;
  PFND3D10DDI_CREATEDEVICE          pfnCreateDevice;
  PFND3D10DDI_CLOSEADAPTER          pfnCloseAdapter;
} D3D10DDI_ADAPTERFUNCS;

Members

pfnCalcPrivateDeviceSize

A pointer to the driver's CalcPrivateDeviceSize function that specifies the size of a memory block that the user-mode display driver requires from the Microsoft Direct3D runtime to store frequently-accessed data.

pfnCreateDevice

A pointer to the driver's CreateDevice(D3D10) function that creates a representation of a display device that handles a collection of rendering state.

pfnCloseAdapter

A pointer to the driver's CloseAdapter(D3D10) function that releases resources for a graphics adapter object.

Requirements

Version

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

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateDeviceSize
CloseAdapter(D3D10)
CreateDevice(D3D10)
D3D10DDIARG_OPENADAPTER
OpenAdapter10

 

 

Send comments about this topic to Microsoft

Show: