Plug and Play Flashcards

1
Q

Plug and Play requests play two roles in the WDM

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

two fundamental states of the device

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

All the parameters for the IRP, including the all-important minor function code, are in…

A

the stack location. Hence, we obtain a pointer to the stack location by calling IoGetCurrentIrpStackLocation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly