Hi,
I want to save some value in the registry just before my miniport driver
shuts down, probably as a result of system shutdown (NT 4.0). Almost all of
resitry related APIs run at PASSIVE LEVEL, whereas miniport shutdown
handler can run at arbiterary IRQL, depending on the system shutdown
situation. In that situation how and from which routine should I save this
state value in the registry just before system halts.
thanks in advance.
Raj
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
wrote in message news:xxxxx@ntdev…
>
> In that situation how and from which routine should I save this
> state value in the registry just before system halts.
>
Have you considered using a worker thread to accomplish this? The timing
would be pretty tight, so I wouldn’t try to queue a work item to do the
work. Rather, you might have a (private) worker thread (created with
PsCreateSystemThread) at a high real-time priority that’s waiting on an
event. You signal the event at shtudown, causing the thread to run and do
its thing.
Hey, it’s a thought, right?
Peter
OSR
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com