// d3d10umddi.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D10_2DDI_ADAPTERFUNCS structure contains functions that the user-mode display driver can implement to communicate with a graphics adapter object.
pfnCalcPrivateDeviceSizeA 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.
pfnCreateDeviceA pointer to the driver's CreateDevice(D3D10) function that creates a representation of a display device that handles a collection of rendering state.
pfnCloseAdapterA pointer to the driver's CloseAdapter(D3D10) function that releases resources for a graphics adapter object.
pfnGetSupportedVersionsA 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).
pfnGetCapsA pointer to the driver's GetCaps(D3D10_2) function that queries for capabilities of the graphics hardware.