🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How To Send Alt - Ctrl - Del to the System or the same effect?

#1107
From: Emmanuel
Date: Tue, 23 Oct 2007 06:44
23 lines
2026 bytes
Do you have a sample of using  WlxLoggedOnSAS()?
there is so many unknown parameter,
using WlxLoggedOnSAS(), must use 
WlxInitialize(lpWinsta,hWlx,pvReserved,pWinlogonFunctions,pWlxContext); to 
get pWlxContext
but How to get the hWlx (the handle of WinLogin ) ?,
to get pWinlogonFunctions need to use BOOL WlxNegotiate( DWORD 
dwWinLogonVersion, PDWORD pdwDllVersion)
but how to use it????
for the lpWinsta, what is the name of the window station being initialized. 
?

 LPWSTR lpWinsta=
 HANDLE hWlx=NULL;
 PVOID pvReserved=NULL;
 PVOID pWinlogonFunctions=;
 PVOID* pWlxContext;

 MyWlxInitialize(lpWinsta,hWlx,pvReserved,pWinlogonFunctions,pWlxContext);

 DWORD dwSasType=WLX_SAS_TYPE_CTRL_ALT_DEL;
 PVOID pReserved=NULL;
 MyWlxLoggedOnSAS(pWlxContext,dwSasType,pReserved);
Technical Details
Message-ID: <471d9825$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47179abc$1@newsgroups.borland.com> <ci8fh3tbntc5vr2q5ec8thg8mg4qj6hagc@4ax.com> <471815f6@newsgroups.borland.com> <vnchh3pfir89cobhg1abo344oi3vdj29k6@4ax.com> <47196250@newsgroups.borland.com> <op.t0ikcozljr09w3@localhost>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,60476a16b55e787b
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Emmanuel" <emmanuel@erphk.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <47179abc$1@newsgroups.borland.com> <ci8fh3tbntc5vr2q5ec8thg8mg4qj6hagc@4ax.com> <471815f6@newsgroups.borland.com> <vnchh3pfir89cobhg1abo344oi3vdj29k6@4ax.com> <47196250@newsgroups.borland.com> <op.t0ikcozljr09w3@localhost>
Subject: Re: How To Send Alt - Ctrl - Del to the System or the same effect?
Date: Tue, 23 Oct 2007 14:44:57 +0800
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 61.141.173.149
Message-ID: <471d9825$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1193121829 61.141.173.149 (22 Oct 2007 23:43:49 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail