About Plug and Play and Power Management

Not all requests are related to I/O. Plug and Play and power management requests notify the driver about a variety of events related to resource assignment, device discovery, device installation and loading, driver loading, and system power state changes. The following are examples of typical events:

  • The computer resumes from hibernation.

  • The user plugs in a new device while the system is running.

  • The user removes an existing device while the system is running.

  • The computer powers down and enters a sleep state such as hibernation.

As a practical matter, Plug and Play and power events are closely related and must be managed jointly. Plug and Play and power management requests are not I/O in the strict sense of ...

Get Developing Drivers with the Windows® Driver Foundation 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.