Article View: borland.public.cppbuilder.nativeapi
Article #5103Re: Win XP switch user
From: Steve Aletto
Date: Thu, 06 Oct 2005 15:20
Date: Thu, 06 Oct 2005 15:20
14 lines
1548 bytes
1548 bytes
> Hi all, can anyone tell me, if there somesort of message sent > to all applications that indicates the XP switch user has been > executed or is intended to be executed? I need to indicate to > our server if the user account under which our app is runing > as switch user. Could WM_QUERYENDSESSION be helpful? Its lParam "specifies whether the user is logging off or shutting down the system. If this parameter includes the ENDSESSION_LOGOFF value, the user if logging off" (MSDN). HTH, Steve.
Technical Details
Message-ID:
<4345404a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!newsfeeder.wxs.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43451f25$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3a004ec7b5028842 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Steve Aletto" <stevealettoANTI@SPAMgmail.com> From: "Steve Aletto" <stevealettoANTI@SPAMgmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <43451f25$1@newsgroups.borland.com> Subject: Re: Win XP switch user Date: Thu, 6 Oct 2005 17:20:01 +0200 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 81.208.124.114 Message-ID: <4345404a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1128611914 81.208.124.114 (6 Oct 2005 08:18:34 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!newsfeeder.wxs.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail