Programming 版 (精华区)
发信人: zpw (zhao), 信区: Programming
标 题: FAQ for VXD(之七)
发信站: 紫 丁 香 (Tue Jul 28 14:15:44 1998), 转信
What are the differences between embedded, installable, and conventional device
drivers?
All of these terms can be used to describe 16-bit protected-mode DLLs.
> An embedded device driver is a DLL that basically acts as an extension
of a particular Windows application. It usually contains an interrupt
handler, and it exports any set of services the author might choose to
implement.
> An installable device driver must conform to more rigid guidelines.
This type of driver can be opened, closed, enabled, disabled, etc. by
other applications or DLLs. It contains a DriverProc, which is like
the WindowProc in a Windows application. The DriverProc responds to a
standard set of messages sent by Windows and to custom messages sent
by applications. This is the type of driver that can be installed
using the Control Panel applet.
> A conventional device driver (also sometimes called a "standard"
device driver) interacts with a hardware device supported by the
Windows API. For example, the display, keyboard, and printer are
considered to be "standard" devices. These drivers are sometimes
given a file extension of .DRV, and are usually installable drivers.
They work with certain pre-defined data structures and provide certain
pre-defined services.
--
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: yaoyu.hit.edu.cn]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.208毫秒