Re: A question on IoRegisterShutdownNotification() by Mark
Mark
Tue Nov 09 18:16:53 CST 2004
In article <490501c4c628$8c59bfa0$a601280a@phx.gbl>,
anonymous@discussions.microsoft.com says...
> Where does the DDK say that only one driver in the stack
> should register for a shutdown notification??
>
I think Gary is referring to this:
"Only one driver in a device stack should register to receive shutdown
notification." - the ddk.
However as he has asked this question in multiple forums, it has already been
answered.
> The help I've read suggests that any driver that requires
> shutdown notifications can register for a shutdown
> notification and will then receive IRP_MJ_SHUTDOWN just
> prior to shutdown.
>
> You could test this by installing 2 simple drivers which
> both register for shutdown notification and then see if
> they both get it!
>
> >-----Original Message-----
> >Hello,
> >
> >Why does the DDK say that only one driver in the stack
> should
> >register for a shutdown notification ? What if more than
> one drivers
> >in the stack need to know about a shutdown ?
> >
> >Thanks,
> >- Gary.
> >
> >
> >
> >
> >.
> >
>
--
=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
markr@hollistech.com