Developing Drivers with the Windows Driver Foundation (Pro Developer

Developing Drivers with the Windows  Driver Foundation (Pro Developer
Penny Orwick, Guy Smith
25 Apr 2007
Purchase online

Master the features and capabilities of the new Windows Driver Foundation--with guidance straight from the experts. The new Windows Driver Foundation, based on the Windows Driver Kit, simplifies driver development with new models and tools familiar to developers who work with Microsoft Visual Studio®. This in-depth guide delivers authoritative guidance on these new models, straight from the teams at Microsoft who developed the Windows Driver Foundation and based on feedback from beta testers.

Page 2 of 2
  1. Editorial Reviews
  2. Customer Reviews

Customer Reviews

Leo said
for those do not have previous driver dev. experience. Too much documentation style "teaching" without a step-by-step practicing process.

D. Seholm said
If you are stuck making a driver for the lame horse called vista, then this book gets the job done, it is very dense, and has a very microsoft feel to it. The WDM has been abstracted to such a point of obscurity at this point that... well I dont have an analogy, it just makes your head hurt, it has definitely advanced to the .net cobweb model of idiocy at this point. Not to mention that you have next to no control over how windows really decides to interact with your hardware anymore with its compiled/interpreted 9 times before it eats up all of the system resources horse manure. Me and a team of 5 other people fought with this stupid driver model for 9 months before we convinced the company to let us use an embedded linux host that feeds a dummy windows GUI the data for output. If you are going to work on a piece of equipment that is not entirely Microsoft endorsed IEEE I suggest doing the same thing, because at this point, if microsoft does not have it prewriten for you, your SOL!!!
I could say a lot more, but it will do no good just like the rant I just went on, if you need to write a standard driver, you should be able to get the job done with this book, I really only took off one star because it was published by microsoft... I hope developers and engineers continue to get disgusted with them, and they either correct there arrogant and ignorant ways, or they fall by the way side, because this is getting ridiculous.

C. Stutts said
This book may very well describe writing WDF drivers, but it is not necessarily a useful book. It is not the Windows equivalent of the one Writing Linux Device Drivers book, and even that book is only just so useful. First: User-mode drivers are described, but what good are they? They can't do a _lot_ of things, and they are source-code incompatible with kernel-mode drivers. Second: In the book's Forward, a Microsoft "Architect" mentions that 3rd party driver developers find the pre-WDF Windows driver model "complex and difficult to use". Unfortunately neither WDF nor this book has helped me debug real world issues involving Cardbus, inf/driver install failures, and NDIS API failures. Microsoft did _not_ address/document/fix the known "complex and difficult to use" problem.

J. Carbonell said
The content of the book feels more accessible than the online WDK documentation. It does cover the material, but each chapter is divided into three parts: stuff common between the kernel driver framework and user mode driver framework, stuff about the kernel driver framework, and stuff about the user mode driver framework. The authors probably had a hard time organizing the material, but the book should have been structured into those three parts. For example, I'm not currently interested in developing a user mode driver and I found the user mode driver material distracting.

This book is more reference than how-to. Maybe the authors should have structured the book like some of the Linux driver books: develop a real device driver.

Huang Da said
This book does exactly what it says, it provides a practical, sample-oriented introduction to developing drivers the Microsoft Windows Driver Foundation way.

The driver code for the samples used in the book, tools needed for developing drivers, and reference documentation are all downloadable (all 2.5GB of it, but it's free) from Microsoft. If you're like me and spend only a small part of your time working on drivers (I'm trying to interface a USB gadget), this is a great guide to WDF as well as to Windows I/O techniques and interface best practices. To get started, you can just hack the samples provided, as the authors intend. WDF looks after plug-n-play and power management, so it makes it easy to develop a basic user-mode USB driver like mine.

If you're a driver specialist, are writing kernel drivers, or have drivers to port from a different operating system, then the book is a detailed reference for moving to WDF. There's a lot of abstraction in the Windows way of doing drivers, and understanding the abstractions helps you write and debug your driver, so this book does a comprehensive job of explaining the relevant abstractions as you go along.

For example, if you're already an expert in the COM programming model, so that it's obvious to you why you need to implement the IUnknown methods, then you can likely skip most of Chapter 18. For the rest of us, we need the how-to advice and the examples, so there's a good reason the book is close to 900 pages :).

You might also like...



Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“C++: an octopus made by nailing extra legs onto a dog.” - Steve Taylor