Direct3D Version 9 Functions
The reference pages in this section describe the functions that the user-mode display driver DLL supplies to the Microsoft Direct3D version 9 runtime.
The user-mode display driver DLL exports the OpenAdapter function and supplies pointers to adapter-specific functions through members of the D3DDDI_ADAPTERFUNCS structure when the runtime calls OpenAdapter.
The Direct3D runtime calls the CreateDevice function from the pfnCreateDevice member of D3DDDI_ADAPTERFUNCS to create a display device that is used to handle a collection of rendering state. The user-mode display driver DLL supplies pointers to all of its display device-specific functions through members of the D3DDDI_DEVICEFUNCS structure when the runtime calls the CreateDevice function.