Display Minidriver Guidelines
If you have created display drivers for earlier versions of Windows, you may prefer to start over again to take advantage of the display minidriver architecture. Your new minidriver will be much smaller and easier to write.
To write a display minidriver, use the following steps to take advantage of the DIB engine:
- Implement the Enable Display Driver Interface (DDI) and create the PDEVICE structure for the driver. The PDEVICE structure must have the same format as the DIBENGINE structure.
- Add code for Disable and Reenable.
- Add VDD communication code.
- Add hardware acceleration code if necessary.
- Add hardware cursor code if applicable.
- Add code for the Control DDI.
- Process all calls as if they went to the DIB engine.
- Add private data for PDEVICE, brushes, and pens if necessary.