D3D10_2DDI_ADAPTERFUNCS structure (d3d10umddi.h)

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

Syntax

typedef struct D3D10_2DDI_ADAPTERFUNCS {
  PFND3D10DDI_CALCPRIVATEDEVICESIZE  pfnCalcPrivateDeviceSize;
  PFND3D10DDI_CREATEDEVICE           pfnCreateDevice;
  PFND3D10DDI_CLOSEADAPTER           pfnCloseAdapter;
  PFND3D10_2DDI_GETSUPPORTEDVERSIONS pfnGetSupportedVersions;
  PFND3D10_2DDI_GETCAPS              pfnGetCaps;
} D3D10_2DDI_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.

pfnGetSupportedVersions

A pointer to the driver's GetSupportedVersions function that retrieves the version of the operating system that the driver supports and the hardware capabilities that are available (for example, Direct3D version 10.0, Direct3D version 10.1, and so on).

pfnGetCaps

A pointer to the driver's GetCaps(D3D10_2) function that queries for capabilities of the graphics hardware.

Requirements

Requirement Value
Minimum supported client D3D10_2DDI_ADAPTERFUNCS is supported beginning with the Windows 7 operating system.
Header d3d10umddi.h (include D3d10umddi.h)

See also

CalcPrivateDeviceSize

CloseAdapter(D3D10)

CreateDevice(D3D10)

D3D10DDIARG_OPENADAPTER

GetCaps(D3D10_2)

GetSupportedVersions

OpenAdapter10