BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Detect PC reset button

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Randy
Guest





PostPosted: Tue Aug 02, 2005 9:03 pm    Post subject: Detect PC reset button Reply with quote



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





PostPosted: Tue Aug 02, 2005 9:45 pm    Post subject: Re: Detect PC reset button Reply with quote




"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





PostPosted: Wed Aug 03, 2005 8:11 am    Post subject: Re: Detect PC reset button Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.