🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WM_[QUERY]ENDSESSION: reboot or power off ?

#950
From: Bob Gonder
Date: Wed, 21 Nov 2007 14:54
10 lines
1305 bytes
AlexB wrote:

>Is it possible to identify "reboot" or "power off"
>in WM_[QUERY]ENDSESSION message handler ?
>
>I've found in NG archives that it was impossible in NT.
>What about Win2k and WinXP ?

No.
http://msdn2.microsoft.com/en-us/library/aa376889.aspx
Technical Details
Message-ID: <3lh8k3pbhnh6fp71sn3j9d0l9bhjp3c80s@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <474425d9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cd2d285d8261f703
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: WM_[QUERY]ENDSESSION: reboot or power off ?
Date: Wed, 21 Nov 2007 06:54:54 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <3lh8k3pbhnh6fp71sn3j9d0l9bhjp3c80s@4ax.com>
References: <474425d9$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.147.92
X-Trace: newsgroups.borland.com 1195656891 67.77.147.92 (21 Nov 2007 06:54:51 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail