Programming the Microsoft® Windows® Driver Model, Second Edition (Anglais) Broché – 16 janvier 2003
Découvrez notre boutique Rentrée scolaire et universitaire : livres, agendas, fournitures, ordinateurs, ameublement...
Les clients ayant acheté cet article ont également acheté
Description du produit
Présentation de l'éditeur
The Microsoft Windows driver model (WDM) supports Plug and Play, provides power management capabilities, and expands on the driver/minidriver approach. Written by long-time device-driver expert Walter Oney in cooperation with the Windows kernel team, this book provides extensive practical examples, illustrations, advice, and line-by-line analysis of code samples to clarify real-world driver-programming issues. And it’s been updated with the latest details about the driver technologies in Windows XP and Windows 2000, plus more information about how to debug drivers.
Topics covered include:
- Beginning a driver project and the structure of a WDM driver; NEW: Minidrivers and class drivers, driver taxonomy, the WDM development environment and tools, management checklist, driver selection and loading, approved API calls, and driver stacks
- Basic programming techniques; NEW: Safe string functions, memory limits, the Driver Verifier scheme and tags, the kernel handle flag, and the Windows 98 floating-point problem
- Synchronization; NEW: Details about the interrupt request level (IRQL) scheme, along with Windows 98 and Windows Me compatibility
- The I/O request packet (IRP) and I/O control operations; NEW: How to send control operations to other drivers, custom queue implementations, and how to handle and safely cancel IRPs
- Plug and Play for function drivers; NEW: Controller and multifunction devices, monitoring device removal in user mode, Human Interface Devices (HID), including joysticks and other game controllers, minidrivers for non-HID devices, and feature reports
- Reading and writing data, power management, and Windows Management Instrumentation (WMI) NEW: System wakeup, the WMI control for idle detection, and using WMIMOFCK
- Specialized topics and distributing drivers; NEW: USB 2.0, selective suspend, Windows Hardware Quality Lab (WHQL) certification, driver selection and loading, officially approved API calls, and driver stacks
COVERS WINDOWS 98, WINDOWS ME, WINDOWS 2000, AND WINDOWS XP!
- A fully searchable electronic copy of the book
- Sample code in Microsoft Visual C++
For customers who purchase an ebook version of this title, instructions for downloading the CD files can be found in the ebook.
Biographie de l'auteur
Walter Oney has 35 years of experience in systems-level programming and has been teaching Windows device driver classes for 10 years. He was a contributing editor to Microsoft Systems Journal and is a Microsoft MVP. He has written several books, including Systems Programming for Windows 95 and the first edition of Programming the Microsoft Windows Driver Model. In his free time he's a committed jogger, a fan of classical dance, and an amateur oboist. He and his wife, Marty, live in Boston, Massachusetts.
Aucun appareil Kindle n'est requis. Téléchargez l'une des applis Kindle gratuites et commencez à lire les livres Kindle sur votre smartphone, tablette ou ordinateur.
Pour obtenir l'appli gratuite, saisissez votre numéro de téléphone mobile.
Détails sur le produit
Si vous vendez ce produit, souhaitez-vous suggérer des mises à jour par l'intermédiaire du support vendeur ?
Meilleurs commentaires des clients
Un problème s'est produit lors du filtrage des commentaires. Veuillez réessayer ultérieurement.
La seule contrainte pour une personne limitée au niveau de l'anglais, elle devra relire plusieurs fois dans certains cas pour bien cerner les formules du texte.
A quand une version francaise traduite de cette ouvrage de reference ? Un ouvrage recommendé pour toutes les personnes ayant acquis les compétences des APIs windows.Total 17/20 (-3 pts parceque pas traduit ...)
Commentaires client les plus utiles sur Amazon.com
There are a number of other references for this territory, such as MSDN, the Windows Internals books, and the DDK itself, but what I especially like about Oney's book is the deliberate way he sets out the material, at many junctures anticipating the extra things you need to know for each piece to make sense, often dispelling some doubt or ambiguity that otherwise makes understanding difficult.
To be sure, a developer will also want to be familiar with more recent developments that make driver development easier, notably the Windows Driver Framework (fromerly "Foundation") (WDF, KMDF, UMDF). So developers may well not build drivers from scratch as in this book. But drivers built with WDF still must operate within the WDM, so knowing how WDM works is an essential foundation.
As for the several less-glowing reviews, note that almost all are from before the second edition was released, so don't actually apply to this edition. This is a sizable tome, with a lot of technical detail, so it's not a surprise that a couple of iterations made for a better result.
At this point in time, you may be tempted to purchase a used copy. That's a good investment, but be aware that the accompanying CD, which contains useful tools and sample code, may be missing, and I've not been able to locate an online source for them. The author's original programming site is no longer online.
Update: Apparently some aspects of this book were acquired by oreilly, and the supporting material can be located by searching for that name in conjunction with 9780735618039. For what it's worth, the revealing DevView.exe tool does work on XP. However, I found that it is unable to load its crucial DevView.sys driver on Win 7-64, not even with boot-time F8 -- Disable Driver Signature Enforcement, hence not usable on that OS (though it might work on Win7-32). Obviously in some cases one can learn what one needs to know on XP, so still useful.
Further update: OSR Online publishes a free utility called DeviceTree, which covers much of the same territory as Oney's DevView, making it a good companion for this book.
This book was perfect for someone like me; 90% of the chapters were relevant for me and at the end of it I was able to fully understand the IRP model, be able to intelligently discuss the issues at hand, and even fix a couple of small things here and there! Very comprehensive and has excellent tips that even the expert SME was surprised to hear. On another occassion I had to deal with a pesky WMI issue; thanks to this book we quickly identified and resolved the issue!
Only complaint is that is fairly old so some topics aren't longer relevant.
would have to be an experienced driver developer to understand.
Only chapters 1-3 are aimed at beginners.
The problem is the author jumps right into the hardest part
Also, the author shows the wrong way of doing things first. That
makes this an extremely difficult read.
Some of the topics could have been simplified.
There is good examples, and software with the book. Otherwise, I would
have given it one star.
If you do not know how to write WDM device drivers, you would do yourself
a big favor by avoiding this book. It is so carelessly edited and
organized that I would feel justified in billing Walter Oney and his
publishers back for the time I have wasted dealing with things like this:
From page 184: ..."In fact, sometimes the easiest way to commence a new operation is to store
some state information in your device extension and then fake an
interrupt. Since either of these approaches needs to be carried out under
protection of the same spin lock that protects your ISR..."
"Fake and interrupt?" This term is not defined or explained anywhere in the book that I could
find within an hour's search.
"...the same spin lock that protects your ISR," is explained 121 pages later on page 305,
where it says "...(because the I/O Manager automatically allocates [a spin
lock] for you.)"
There are 26 pages of errata downloadable from Oney's web site. I printed
out the file, and I have to check it every page or two to make sure the
information on the page I am reading is correct.
If you want to spend your time sorting through this mess
while introducing yourself to a topic as arcane as WDM, be my guest.
You have been warned.