| View previous topic :: View next topic |
| Author |
Message |
Randy Guest
|
Posted: Tue Aug 02, 2005 9:03 pm Post subject: Detect PC reset button |
|
|
Is there any way to detect that a PC has been reset manually (e.g. reset
button) as opposed to a power failure?
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue Aug 02, 2005 9:45 pm Post subject: Re: Detect PC reset button |
|
|
"Randy" <banjolicious (AT) netscape (DOT) net> wrote
| Quote: | Is there any way to detect that a PC has been reset manually
(e.g. reset button) as opposed to a power failure?
|
No.
Gambit
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Wed Aug 03, 2005 8:11 am Post subject: Re: Detect PC reset button |
|
|
Randy wrote:
| Quote: | Is there any way to detect that a PC has been reset manually (e.g.
reset button) as opposed to a power failure?
|
There is a Power Failure interrupt that gets sent to the CPU (it's
actually the second highest priority) but I don't know if the Kernel
bothers to react to it. Even if the Kernel does react I doubt it has
the time or inclination to propogate the interrupt around the system to
user mode code. Probably it will try and notify device drivers if they
have asked to be notified about such things.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
|