Auto-detect unexpected shutdown?

  • Thread starter Thread starter Chris Shearer Cooper
  • Start date Start date
C

Chris Shearer Cooper

If I want my application to be able to tell if the system has had an
unexpected shutdown anytime recently, under Windows NT I can check for event
6008 in the event log.

Does Windows XP use this same event number?

Is there any way under Windows 98 to detect an unexpected shutdown?

Thanks!
Chris
 
Hello,

["Followup-To:" microsoft.public.win32.programmer.kernel set.]

Chris Shearer Cooper said:
If I want my application to be able to tell if the system has had an
unexpected shutdown anytime recently, under Windows NT I can check for
event 6008 in the event log.

But you know that this is not true for every version of NT4? It was
introduced in some SP, I believe it was SP4.

So, this is not "fail-safe" even on NT4.

Regards,
Spiro.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top