🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Temporary make a PC "useless"

#5313
From: Tom Woodrow
Date: Sat, 17 Sep 2005 07:36
29 lines
1906 bytes
unwrap and enjoy:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/blockinput.asp

Tom Woodrow


Mathias Thorell wrote:

> Tom Woodrow wrote:
> 
>> Maybe a tight timer loop with the BlockInput() function. Disables 
>> keyboard and mouse and the user is not fast enough to kill the task 
>> using the task manager.
> 
> 
> Can't find any BlockInput() function (in BCB5) :(
> 
>> When the user connects the network cable and makes the connection, the 
>> blockinput timer is allowed to terminate.
> 
> 
> Would this work even if the "Press Ctrl-Alt-Del to unlock this 
> workstation" is displayed (by Gina.dll) ?
> 
> /Mathias
> 
>> Tom Woodrow
Technical Details
Message-ID: <432bc71e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <432a373b$1@newsgroups.borland.com> <432a6824$1@newsgroups.borland.com> <432b7d86$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,437cbe1e36c70c9c
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 17 Sep 2005 00:36:19 -0700
From: Tom Woodrow <tomwoodrow@comcast.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Temporary make a PC "useless"
References: <432a373b$1@newsgroups.borland.com> <432a6824$1@newsgroups.borland.com> <432b7d86$1@newsgroups.borland.com>
In-Reply-To: <432b7d86$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.6.92.22
Message-ID: <432bc71e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1126942494 24.6.92.22 (17 Sep 2005 00:34:54 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail