🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13479

Windows Shutdown Event

#13479
From: Andy Stites
Date: Fri, 10 Oct 2003 14:47
5 lines
1166 bytes
On a windows (XP) shutdown event how do you distingusih a shutdown from a
reboot or a logoff.

I need to catch it and stop it, and then redo the event, but I can't tell if
a shutdown or reboot was sent.
Technical Details
Message-ID: <3f86c666@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,90b532724b1730a0,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-10 08:09:45 PST
From: "Andy Stites" <a.stites@avatar-group.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Windows Shutdown Event
Date: Fri, 10 Oct 2003 10:47:30 -0400
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 69.140.219.137
Message-ID: <3f86c666@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1065797222 69.140.219.137 (10 Oct 2003 07:47:02 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail