Device Enumeration

As briefly described earlier in this chapter, the PnP Configuration Manager is responsible for enumerating the hardware discovered on a system. Starting at system boot, or as devices are inserted or removed, a bus driver is responsible for identifying and listing (i.e., enumerating) attached hardware. The hardware resources assigned to a device are supplied to the driver when the PnP Start Message subcode (IRP_MN_START_DEVICE) is sent.

The technique used to assign unique hardware resources to a device is bus-and driver-dependent. For example, it is possible that two devices installed in a system have conflicting resource requirements at boot time. Both devices might default to the same I/O port address. The PnP Configuration ...

Get Windows® 2000 Device Driver Book: A Guide for Programmers, Second Edition, The 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.