Windows 7 Device Driver (Addison-wesley Microsoft Technology Series) (PAP/PSC)

Windows 7 Device Driver (Addison-wesley Microsoft Technology Series) (PAP/PSC)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 350 p.
  • 言語 ENG
  • 商品コード 9780321670212
  • DDC分類 005.71

Full Description


"The chapter on programming a KMDF hardware driver provides a great example for readers to see a driver being made."-Patrick Regan, network administrator, Pacific Coast CompaniesThe First Authoritative Guide to Writing Robust, High-Performance Windows 7 Device DriversWindows 7 Device Driver brings together all the information experienced programmers need to build exceptionally reliable, high-performance Windows 7 drivers. Internationally renowned driver development expert Ronald D. Reeves shows how to make the most of Microsoft's powerful new tools and models; save time and money; and efficiently deliver stable, robust drivers.Drawing on his unsurpassed experience as both a driver developer and instructor, Reeves demystifies Kernel and User Mode Driver development, Windows Driver Foundation (WDF) architecture, driver debugging, and many other key topics. Throughout, he provides best practices for all facets of the driver development process, illuminating his insights with proven sample code. Learn how to Use WDF to reduce development time, improve system stability, and enhance serviceabilityTake full advantage of both the User Mode Driver Framework (UMDF) and the Kernel Mode Driver Framework (KMDF)Implement best practices for designing, developing, and debugging both User Mode and Kernel Mode DriversManage I/O requests and queues, self-managed I/O, synchronization, locks, plug-and-play, power management, device enumeration, and moreDevelop UMDF drivers with COMSecure Kernel Mode Drivers with safe defaults, parameter validation, counted UNICODE strings, and safe device naming techniquesProgram and troubleshoot WMI support in Kernel Mode DriversUtilize advanced multiple I/O queuing techniquesWhether you're creating Windows 7 drivers for laboratory equipment, communications hardware, or any other device or technology, this book will help you build production code more quickly and get to market sooner!

Contents

Preface xvAbout the Author xixIntroduction 1Part I: Device Driver Architecture Overview 5Chapter 1: Objects 71.1 Nature of an Object 71.2 What Is a Software Object? 81.3 Gaining an Understanding 101.4 Software Components 11Chapter 2: Windows Driver Foundation (WDF) Architecture 132.1 WDF Component Functions 132.2 Design Goals for WDF 142.3 Device and Driver Support in WDF 152.4 WDF Driver Model 162.5 WDF Object Model 172.6 Plug and Play and Power Management Support 202.7 Integrated I/O Queuing and Cancellation 222.8 WMI Requests (Kernel Mode Drivers Only) 272.9 Driver Frameworks 282.10 Windows Kernel 322.11 Tools for Development and Testing 33Part II: User Mode Drivers 39Chapter 3: Windows 7 User Mode Drivers Overview and Operation 413.1 Devices Supported in User Mode 423.2 UMDF Model Overview 433.3 Driver Callback Interfaces 473.4 UMDF Driver Features 493.5 I/O Request Flow 513.6 I/O Queues 563.7 I/O Request Objects 603.8 Self-Managed I/O 673.9 Synchronization Issues 683.10 Locks 703.11 Plug and Play and Power Management Notification 703.12 Device Enumeration and Startup 713.13 Device Power-Down and Removal 723.14 Build, Test, and Debug 75Chapter 4: Programming Drivers for the User Mode Driver Framework 794.1 Windows I/O Overview 794.2 Brief COM Information 814.3 UMDF Architecture 824.4 Required Driver Functionality 844.5 UMDF Sample Drivers 874.6 Driver Dynamic-Link Library and Exports 914.7 Functions for COM Support 954.8 Using the Skeleton Driver as a Basis for Development 106Chapter 5: Using COM to Develop UMDF Drivers 1115.1 Getting Started 1115.2 Using UMDF COM Objects 1165.3 Basic Infrastructure Implementation 120Part III: Kernel Mode Drivers 127Chapter 6: Windows 7 Kernel Mode Drivers Overview and Operations 1296.1 KMDF Supported Devices 1296.2 KMDF Components 1316.3 KMDF Driver Structure 1326.4 Comparing KMDF and WDM Drivers 1326.5 Device Objects and Driver Roles 1356.6 KMDF Object Model 1396.7 KMDF I/O Model 147Chapter 7: Plug and Play and Power Management 1637.1 Plug and Play and Power Management Overview 1637.2 Device Enumeration and Startup 1647.3 WMI Request Handler 1727.4 Synchronization Issues 1737.5 Security 180Chapter 8: Kernel Mode Installation and Build 1838.1 WDK Build Tools 1838.2 Build Environment 1858.3 Building a Project 1868.4 Building Featured Toaster 1878.5 Installing a KMDF Driver 190 8.6 Catalog Files and Digital Signature 1938.7 Installing Featured Toaster 1948.8 Testing a KMDF Driver 1968.9 Debugging Macros and Routines 2038.10 WDF Debugger Extension Commands 2048.11 Using WPP Tracing with a KMDF Driver 2058.12 Using WinDbg with Featured Toaster 2058.13 Versioning and Dynamic Binding 208Chapter 9: Programming Drivers for the Kernel Mode Driver Framework 2119.1 Differences Between KMDF and WDM Samples 2169.2 Macros Used in KMDF Samples 2189.3 KMDF Driver Structure and Concepts 2199.4 A Minimal KMDF Driver: The Simple Toaster 2249.5 Sample Software-Only Driver 235Chapter 10: Programming Plug and Play and Power Management 24310.1 Registering Callbacks 24310.2 Managing Power Policy 24810.3 Callbacks for Power-Up and Power-Down 25010.4 Callback for Wake Signal Support 251Chapter 11: Programming WMI Support 25311.1 WMI Architecture 25311.2 Registering as a WMI Data Provider 25411.3 Handling WMI Requests 25511.4 WMI Requirements for WDM Drivers 25611.5 WMI Class Names and Base Classes 25711.6 Firing WMI Events 26011.7 Troubleshooting Specific WMI Problems 26511.8 Techniques for Testing WMI Driver Support 26811.9 WMI Event Tracing 269Chapter 12: Programming KMDF Hardware Driver 27312.1 Support Device Interrupts 27412.2 Handling Interrupts 27812.3 Mapping Resources283Chapter 13: Programming Multiple I/O Queues and Programming I/O 29113.1 Introduction to Programming I/O Queues 29113.2 Creating and Configuring the Queues 29313.3 Handling Requests from a Parallel Queue 29813.4 Forwarding Requests to a Queue 30213.5 Retrieving Requests from a Manual Queue. 30313.6 Reading and Writing the Registry 30813.7 Watchdog Timer: Self-Managed I/O. 312Appendix: Driver Information Web Sites 323Bibliography 331Index 333

最近チェックした商品