🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
4 messages
4 total messages Started by AlexB Wed, 21 Nov 2007 11:34
WM_[QUERY]ENDSESSION: reboot or power off ?
#1097
Author: AlexB
Date: Wed, 21 Nov 2007 11:34
12 lines
1072 bytes
Hi all.

Win2k, WinXP.

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 ?

-- 
Alex
Re: WM_[QUERY]ENDSESSION: reboot or power off ?
#950
Author: 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
Re: WM_[QUERY]ENDSESSION: reboot or power off ?
#951
Author: Remy Lebeau (TeamB)
Date: Wed, 21 Nov 2007 17:11
11 lines
1146 bytes
"AlexB" <b.a.v@inbox.ru> wrote in message 
news:474425d9$1@newsgroups.borland.com...

> Is it possible to identify "reboot" or "power off"
> in WM_[QUERY]ENDSESSION message handler ?

No, it is not.


Gambit 
Re: WM_[QUERY]ENDSESSION: reboot or power off ?
#960
Author: AlexB
Date: Thu, 22 Nov 2007 04:13
4 lines
907 bytes
Thank you for information.

-- 
Alex
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads