Plug and Play Flashcards
Plug and Play requests play two roles in the WDM
In their first role, these requests instruct the driver when and how to configure or deconfigure itself and the hardware. A second and more complicated purpose of PnP requests is to guide the driver through a series of state transitions
two fundamental states of the device
WORKING and STOPPED are the two fundamental states of the device. The STOPPED state is the initial state of a device immediately after you create the device object. The WORKING state indicates that the device is fully operational.
All the parameters for the IRP, including the all-important minor function code, are in…
the stack location. Hence, we obtain a pointer to the stack location by calling IoGetCurrentIrpStackLocation.