Display Drivers and Background Drawing to Memory Bitmaps

Last reviewed: March 27, 1995
Article ID: Q74994
The information in this article applies to:
  • Microsoft Windows Device Driver Kit (DDK) for Windows versions 3.0, 3.1, and 3.11

In the Microsoft Windows graphical environment, a display driver must support all of its declared capabilities at all times, regardless of the current video mode of the adapter. For example, when Windows is running in enhanced mode, a display driver can be called to perform graphics operations on a memory bitmap while a full-screen MS-DOS (non-Windows) application is running in the foreground. This may occur if an application developed for Windows is printing in the background, and the graphics device interface (GDI) calls the display driver to perform some imaging for the current page.

If the display driver relies on adapter hardware for certain graphics operations, but cannot access this hardware due to the current video mode of the adapter, then the driver must include "host side" drawing to handle this case.

The 8514/A display driver provides an example of hardware operations emulated in host code when drawing to main memory bitmaps. This source code is available in the Windows Device Development Kit (DDK) versions 3.0 and 3.1.


Additional reference words: 3.00 3.10 DDKDISPLAY
KBCategory: kbprg
KBSubcategory: D2DispQuest


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.