<< ...Many MS-DOS programs wrote directly to the video memory and the printer port.The disadvantage of this technique was the need to supply driver software for every dispaly card and every printer port. Windows introduces a level of abstraction called the Graphics Device Interface (GDI). Windows provides the printer and display drivers so your porgram does not need to know the type of display card and printer attached to the system. Insteadd of addressing the hardware, your program calls GDI functions that reference a data structure called a device context...>>
|