Developing Drivers with the Windows Driver Foundation (Pro Developer)
Overview
Plug and Play and power management encompass a variety of activities involved in the installation, configuration, and operation of devices. The following are just a few situations that require Plug and Play or power management support:
-
The user connects a new MP3 player to a running system.
-
The user unexpectedly removes a USB flash drive.
-
While the system is running, the user plugs in an Ethernet cable to connect the computer to a network.
-
While the system is suspended, the user wakes it up by moving the mouse.
-
The administrator configures the system to hibernate after it is idle for an extended period.
To properly support Plug and Play and power management, the operating system, drivers, system administration software, device installation software, system hardware, and device hardware must all work together.
WDF implements a fully integrated model for 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. To support more complex features, drivers implement event callbacks. This chapter provides guidelines for implementing support in UMDF and KMDF drivers.
For this chapter, you need … | From … |
---|---|
| |
Samples | |
Fx2_Driver | %wdk%\Src\Umdf\Usb\Fx2_Driver |
Osrusbfx2 | %wdk%\Src\Kmdf\Osrusbfx2 |
Toaster Filter | %wdk%\Src\Kmdf\Toaster\Filter |
USB Filter | %wdk%\Src\Umdf\Usb\Filter |
WDK documentation | |
PnP and Power Management in Framework-Based Drivers | http://go.microsoft.com/fwlink/?LinkId=82110 |
Supporting PnP and Power Management in UMDF Drivers | http://go.microsoft.com/fwlink/?LinkId=82112 |
USB Power Management | http://go.microsoft.com/fwlink/?LinkId=82114 |
Other | |
"Plug and Play - Architecture and Driver Support" on the WHDC Web site | http://go.microsoft.com/fwlink/?LinkId=82116 |
Категории