Article View: borland.public.cppbuilder.nativeapi
Article #1124Re: How To Send Alt - Ctrl - Del to the System or the same effect?
From: Bob Gonder
Date: Wed, 24 Oct 2007 21:34
Date: Wed, 24 Oct 2007 21:34
26 lines
2446 bytes
2446 bytes
Emmanuel wrote:
>I don't know what is
>lpWinsta - A pointer to the name of the window station being initialized.
Search my last post for lpWinsta, and you will see the value I assigned to it.
>pWinlogonFunctions - which parameter I should fill, what relation between
>with
> DWORD dwDllVersion; WlxNegotiate( WLX_CURRENT_VERSION, &dwDllVersion );
Are you asking how to call WlxInitialize() ?
Again, read my last post, you will see I filled in the proper values.
All except hWlx, which I don't know how to get.
Below is the condensed version of what I wrote:
>>> HANDLE hWlx=NULL; //<<---fill this in somehow
>> PVOID pWlxContext;
>> DWORD dwDllVersion;
>> WlxNegotiate( WLX_CURRENT_VERSION, &dwDllVersion );
>> WlxInitialize("Winsta0", hWlx, NULL, (void*)dwDllVersion, &pWlxContext);
>> MyWlxLoggedOnSAS( pWlxContext, WLX_SAS_TYPE_CTRL_ALT_DEL, NULL);
I think it would be easier if you could decide which of the three options
you wanted to do, and used ExitWindowsEx() to do it.
Maybe put up a dialog to ask the user, then select the proper method.
Technical Details
Message-ID:
<1odvh31u3kq8emf7j0raila3g2uq38mtpt@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<47179abc$1@newsgroups.borland.com> <ci8fh3tbntc5vr2q5ec8thg8mg4qj6hagc@4ax.com> <471815f6@newsgroups.borland.com> <vnchh3pfir89cobhg1abo344oi3vdj29k6@4ax.com> <47196250@newsgroups.borland.com> <op.t0ikcozljr09w3@localhost> <471d9825$1@newsgroups.borland.com> <8cvrh35v1apu19q4fm55sl78kqj81qd6ht@4ax.com> <471ea4ab$1@newsgroups.borland.com>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: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How To Send Alt - Ctrl - Del to the System or the same effect? Date: Wed, 24 Oct 2007 14:34:46 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <1odvh31u3kq8emf7j0raila3g2uq38mtpt@4ax.com> References: <47179abc$1@newsgroups.borland.com> <ci8fh3tbntc5vr2q5ec8thg8mg4qj6hagc@4ax.com> <471815f6@newsgroups.borland.com> <vnchh3pfir89cobhg1abo344oi3vdj29k6@4ax.com> <47196250@newsgroups.borland.com> <op.t0ikcozljr09w3@localhost> <471d9825$1@newsgroups.borland.com> <8cvrh35v1apu19q4fm55sl78kqj81qd6ht@4ax.com> <471ea4ab$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: 69.69.82.204 X-Trace: newsgroups.borland.com 1193261686 69.69.82.204 (24 Oct 2007 14:34:46 -0700) Lines: 30 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail