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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.