Physical Device Driver Reference: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
==API Information== | ==API Information== | ||
* [[ | * [[Physical Device Driver (DevHlp) Functions|The OS/2 API Project - Physical Device Driver (DevHlp) API]] | ||
==Links and Editions== | ==Links and Editions== |
Revision as of 23:41, 9 June 2017
By IBM
Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation
Description
Device drivers are software modules that act as an interface between OS/2* (or its applications) and physical devices. In DOS, applications are responsible for knowing and managing all the differences between different devices of like types. The device drivers of OS/2 enable applications to focus on the logic of the actual application and treat devices in a device-independent way.
This device-independence is a fundamental benefit of the OS/2 programming environment. For example, drawing a circle on the screen or on a printer is as easy as opening a device context for the correct output device and performing the drawing operations. By placing the drawing operation into the device context, the programmer does not have to be concerned about whether the device is a printer or a display.