Graphics DDI Functions for Display Drivers
A Microsoft NT-based operating system display driver must implement several graphics DDI functions. Although writing a driver that capitalizes on existing GDI capabilities would be smaller and simpler to write, you should make sure that your driver also implements those operations it can perform more efficiently than GDI.
The display driver graphics DDI functions fall into three groups, each of which is discussed in following topics: