Chapter 12. THE GRAPHICS DEVICE INTERFACE

The Graphics Device Interface (GDI) provides Windows applications with a device-independent interface to the screen and printers. The GDI is a layer between the application and the different types of hardware. This architecture frees the programmer from having to deal with each type of device directly by letting the GDI resolve differences in hardware instead. A well-designed Windows application will function the same on all types of current hardware and any new hardware introduced in the future.

All GDI functions in Win32 use 32-bit values for GDI coordinates; however, in Windows 9x, the high-order word is ignored, resulting in a 16-bit value for coordinates. Only in Windows NT\2000 can an application ...

Get Microsoft Windows 2000 API SuperBible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.