Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit
Lesson 1: Understanding Device Driver Basics
On Windows Embedded CE, a device driver is a dynamic-link library (DLL) that provides a layer of abstraction between the underlying hardware, OS, and applications running on the target device. The driver exposes a set of known functions and provides the logic to initialize and communicate with the hardware. Software developers can then call the driver's functions in their applications to interact with the hardware. If a device driver adheres to a well-known application programming interface (API) such as Device Driver Interface (DDI), you can load the driver as part of the operating system, such as a display driver or a driver for a storage device. Without having to know details about the physical hardware, applications can then call standard Windows API functions, such as ReadFile or WriteFile, to use the peripheral device. You can support different types of peripherals by adding different drivers to the OS design without having to reprogram your applications.
After this lesson, you will be able to:
? Differentiate between native and stream drivers.
? Describe the advantages and disadvantages of monolithic and layered driver architectures.
Estimated lesson time: 15 minutes.
- Chapter 6 Developing Device Drivers
- Monolithic vs. Layered Driver Architecture
- JDBC Туре 4 DRIVER
- Basics of the iptables command
- Test Driver Code
- Lesson Summary
- Creating and Deleting Device Objects
- Understanding the Command Line
- Installing Proprietary Video Drivers
- Understanding Set User ID and Set Group ID Permissions
- Understanding init Scripts and the Final Stage of Initialization
- Understanding Point-to-Point Protocol over Ethernet