Solved

Lock Ctrl+Alt+Del in WinNT 4.0

Posted on 1998-08-26
1
312 Views
Last Modified: 2010-04-04
How can I lock the key combination Ctrl+Alt+Del and Alt+Tab in my Delphi-Application for WinNT 4.0. The API function SystemParameterInfo(SPI_Screensaverrunning....) ist only working in Windows 95.
Who can help me ?
0
Comment
Question by:Pele
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
d003303 earned 20 total points
ID: 1337807
Winlogon.exe is the first UI process that is started and reacts on Ctrl+Alt+Del. Because it is the first process, it sees all key events first. So to hook up before that process you need a kernel-mode driver. No other chance. Take a look at

http://www.sysinternals.com/ctrl2cap.htm

for an example. Unfortunately, the sources are in C and you need the MS DDK to compile them.
Note that you are going very deep into the OS Kernel with that, this is not very suitable if it isn't absolutely necessary.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question