🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TService and SERVICE_CONTROL_SESSIONCHANGE

#3921
From: Arno Garrels
Date: Tue, 18 Apr 2006 08:39
15 lines
1569 bytes
Hi,

I've modified the TService class to register a HandlerEx callback
thru RegisterServiceCtrlHandlerEx(). When I switch to another user
(FUS on XP sp2) the service is notified OK, however both dwEventType
as well as lpEventData^.dwSessionId return the same values
(WTS_SESSION_LOCK / WTS_SESSION_UNLOCK).
Any idea why I do not get the session id in member dwSessionId?

Thanks,

Arno Garrels


     
Technical Details
Message-ID: <e228kt$ugv$1@online.de>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,88b46a78e71bf72f,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail
From: "Arno Garrels" <arno.garrels@gmx.de>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: TService and SERVICE_CONTROL_SESSIONCHANGE
Date: Tue, 18 Apr 2006 10:39:56 +0200
Organization: 1&1 Internet AG
Lines: 15
Message-ID: <e228kt$ugv$1@online.de>
NNTP-Posting-Host: p54bd2639.dip0.t-ipconnect.de
Mime-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Trace: online.de 1145349597 31263 84.189.38.57 (18 Apr 2006 08:39:57 GMT)
X-Complaints-To: abuse@einsundeins.com
NNTP-Posting-Date: Tue, 18 Apr 2006 08:39:57 +0000 (UTC)
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