More and more programmers find themselves faced with
developing
Windows NT or
Windows 98
drivers. This book
explains the complex Windows
driver architecture, and
presents insights into a myriad of practical details that
are rarely, if ever, documented. This new edition includes
soup-to-nuts coverage of the Win32 Driver Model (WDM),
which allows developers to create a single driver for NT
and Windows 98 - including detailed steps for migrating
existing drivers to WDM. This book clarifies Microsoft's
murky driver documentation, and contains extensive detail
Microsoft forgot to include. Learn about the NT I/O Manager
and its data structures, and discover how various
hardware
issues impact driver design. Master hardware
initialization; cleanup routines; driver dispatch routines;
programmed I/O data transfers; timers; full-duplex drivers;
DMA drivers; logging device errors; system threads;
higher-level drivers; testing, debugging, performance and
more. Learn how to set up a driver development environment
and analyze crash dumps. This completely revised edition
includes extensive new sample code on CD-ROM designed
specifically to help streamline development projects. All
Windows programmers who have a role in writing device
drivers.
Features
- Complete, end-to-end coverage of the Win32 Driver Model
for Windows NT and Windows 98!
- Systematic testing and debugging techniques for all
Windows driver developers.
- New CD-ROM includes all source code, plus Microsoft
hardware standards documents, great demo software and
more!
Contents
Forword
Preface
1. Introduction to Windows 2000 Drivers.
2. The Hardware Environment.
3. Kernel-Mode I/O Processing.
4. Drivers and Kernel-Mode Objects.
5. General Development Issues.
6. Initialization and Cleanup Routines.
7. Driver Dispatch Routines.
8. Interrupt-Driven I/O.
9. Hardware Initialization.
10. Power Management.
11. Timers.
12. DMA Drivers.
13. Windows Management and Instrumentation.
14. System Threads.
15. Layered Drivers.
16. Driver Installation.
17. Testing and Debugging Drivers.
Bibliographie
Index.