Detecting shutdown

Besides IoRegisterShutdownNotification, is there a way I can detect whether
the system is in the middle of a shutdown? E.g., I’d like to know if my
IRP_MJ_READ dispatch routine is being called during a shutdown.

Thanks.

I guess it’s not. What’s wrong with IRP_MJ_SHUTDOWN notification?
Thanks.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Neil Weicher
Sent: 27. b?ezna 2009 0:11
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Detecting shutdown

Besides IoRegisterShutdownNotification, is there a way I can detect whether
the system is in the middle of a shutdown? E.g., I’d like to know if my
IRP_MJ_READ dispatch routine is being called during a shutdown.

Thanks.


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars
(including our new fs mini-filter seminar) 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

PowerSystemShutdown ? I think it’s too late for you.

Haibo

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Neil Weicher
Sent: Friday, March 27, 2009 7:11 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Detecting shutdown

Besides IoRegisterShutdownNotification, is there a way I can detect whether
the system is in the middle of a shutdown? E.g., I’d like to know if my
IRP_MJ_READ dispatch routine is being called during a shutdown.

Thanks.


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars
(including our new fs mini-filter seminar) 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