The Windows Driver Foundation (WDF) implements a fully integrated model for Plug and Play and power management in both the user-mode driver framework (UMDF) and the kernel-mode driver framework (KMDF). The model provides intelligent defaults so that some drivers do not require any code to support simple Plug and Play or power management. To support more complex features, drivers implement event callbacks. This paper provides guidelines for implementing Plug and Play and power management support in UMDF and KMDF drivers.
This information applies for the following operating systems:
Windows Server 2008
Windows Vista
Microsoft Windows Server 2003
Microsoft Windows XP
Microsoft Windows 2000 (KMDF only)
For comprehensive information about writing WDF drivers, see Developing Drivers with the Windows Driver Foundation, by Penny Orwick and Guy Smith, available at http://www.microsoft.com/MSPress/books/10512.aspx.
Included in this white paper:
| • | Plug and Play and Power Management Support in WDF |
| • | Callback Sequences for Plug and Play and Power Management |
| • | How to Implement Plug and Play and Power Management in WDF Drivers |
| • | Plug and Play and Power Management in Software-Only Drivers |
| • | Plug and Play and Power Management in Simple Hardware Drivers |
| • | Advanced Power Management for KMDF Drivers |