🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Full control over user, how ?

#15178
From: JD
Date: Thu, 17 Jul 2003 23:07
15 lines
1438 bytes
"Sergey Muschin" <sergey.muschin@tonservices.com> wrote:
> How to prevent a user from rebooting computer, invoking Task
> Manager, activating Task Bar , etc.

For WinNT/2K/XP, have a look at the CreateDesktop(), SwitchDesktop(),
and other related functions.

For Win9x/Me, use SystemParametersInfo() instead, with the
SPI_SETSCREENSAVERRUNNING flag. It tricks the OS into thinking
the screensaver is already running, which has the side-effect
of also disabling all of those system-defined keyboard combos
as well.

~ JD
Technical Details
Message-ID: <3f172c20$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f171c83@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,3b1b95d72e4cd575
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-17 16:09:56 PST
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: Full control over user, how ?
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 172.161.193.209 172.161.193.209    
References:  <3f171c83@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3f172c20$1@newsgroups.borland.com>
Date: 17 Jul 2003 16:07:12 -0700
X-Trace: newsgroups.borland.com 1058483232 207.105.83.65 (17 Jul 2003 16:07:12 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail