DirectDraw Display Driver Reference (Windows Embedded CE 6.0)
For your driver, you must modify the functions and callbacks to reflect your specific hardware needs. To get your driver running quickly, you should implement the driver initialization code first, and then add functionality. For example, add flipping functionality first.
In addition to the functions, callbacks, macros, and structures listed in this reference, you must include both Ddrawi.h and Ddraw.h in your driver. Both of these include files are provided with Microsoft DirectX Platform Adaptation Kit (DXPAK).