Delay power off
- From: voidcoder <voidcoder@xxxxxxxxx>
- Date: Tue, 29 Jul 2008 16:18:52 +0100
Dear windows drivers gurus,
I have a specific requirement for delaying the physical
power off when OS is shutting down, hibernating, suspending
etc for N seconds. I have a number of bus powered devices
which require some extra time to safely power down.
I don't want to go into specifics, but due to various
reasons that could not be easily fixed in hardware or
in drivers coming with the devices (no sources).
My question is, are there any ways to insert an artificial
delay after the os has completed its usual power down
things like completing an outstanding disk I/O, flushing
registry hives, sending power off IOCTLs to the drivers
etc but before the power is actually switched off.
I believe it should be possible as some third party
programs definitely can insert an extra step into power
down process (e.g. disk cloning software etc) so that
if I could just execute a dummy 5 lines app which does
nothing but IDLEs for N seconds before the power is
turned off, or even better, if there are standard ways
for doing this without writing code at all this will
100% meet my needs.
Any ideas?
Thanks.
.
- Follow-Ups:
- Re: Delay power off
- From: Alexander Grigoriev
- Re: Delay power off
- Prev by Date: Re: storport.sys bug
- Next by Date: Re: Invalid Virtual Address
- Previous by thread: Releasing a COM Port from an Active Application
- Next by thread: Re: Delay power off
- Index(es):
Relevant Pages
|