🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: System flags

#12795
From: Remy Lebeau (TeamB)
Date: Tue, 18 Nov 2003 09:04
14 lines
1379 bytes
"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:3fb9df53$1@newsgroups.borland.com...

> Windows sends WM_QUERYENDSESSION before
> WM_ENDSESSION. Other than that, there is no other
> notification sent beforehand that you can intercept.

If you must be the first one to receive a shutdown notification, then have a
look at SetProcessShutdownParameters() or using a global message hook via
SetWindowsHookEx() in a DLL.


Gambit
Technical Details
Message-ID: <3fb9dfa7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fb9cfe0$1@newsgroups.borland.com> <3fb9df53$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7c3a174ff8c0e9fb
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-18 01:09:20 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fb9cfe0$1@newsgroups.borland.com> <3fb9df53$1@newsgroups.borland.com>
Subject: Re: System flags
Date: Tue, 18 Nov 2003 01:04:07 -0800
Lines: 17
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: 67.22.137.149
Message-ID: <3fb9dfa7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1069146023 67.22.137.149 (18 Nov 2003 01:00:23 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail