Chapter 7. Plug and Play and Power Management

The Windows Driver foundation (WDF) implements a fully integrated model for Plug and Play and power management. In this chapter, we will cover the Kernel Mode Driver Framework (KMDF) guidelines for implementing Plug and Play and power management. The model provides intelligent defaults so that some drivers do not require any code to support simple Plug and Play or power management.

7.1 Plug and Play and Power Management Overview

KMDF implements integrated Plug and Play and power management support as an internal state machine. An event is associated with the transition to each state, and a driver can supply callback routines that are invoked at each such state change.

If you are familiar with WDM ...

Get Windows 7 Device Driver now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.