Which callback is called before EvtInterruptDisable

I need to handle some HW state when disable the device in DM, or shutdown/reboot, which still using interrupt.
When disable the device in DM, EvtDeviceQueryRemove is called before EvtInterruptDisable. However it’s not called when shutdown/reboot.

Which callback function can I use?

Oops, I missed EvtDeviceD0ExitPreInterruptsDisabled…

d3final will indicate a disable or rebalance

d

Bent from my phone


From: xxxxx@gmail.commailto:xxxxx
Sent: ?1/?29/?2015 6:58 PM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: RE:[ntdev] Which callback is called before EvtInterruptDisable

Oops, I missed EvtDeviceD0ExitPreInterruptsDisabled…


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>