Driver Access to Hardware
The following table lists all of the event callback functions that the framework device object defines, in alphabetical order. The table shows you the callback functions in which your driver can access the hardware that the callback function's WDFDEVICE handle represents. You can access the hardware because the device is in its working (D0) state.
Event callbacks functionsfor framework device objects | Is hardware accessible? |
---|---|
Yes |
|
Yes |
|
Yes |
|
Yes |
|
Yes |
|
Parent bus might be at D0. The device might be at D0. |
|
Yes |
|
Yes |
|
No |
|
Parent bus is at D0, but the device might not be. |
|
Maybe |
|
No |
|
No |
|
Yes |
|
Yes, but the device might be in a sleeping state. |
|
No |
|
Yes, but resources have not been assigned to the device. |
|
No |
|
No |
|
No |
|
No |
|
Yes |
|
Yes |
|
No, if device has been surprise-removed; otherwise, yes. |
|
No |
|
No |
|
Yes |
|
Yes |
|
Yes |
|
Depends on the IRP. |
|
Depends on the state. |
|
Depends on the state. |
|
Depends on the state. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for