473,763 Members | 1,382 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how could I disable ctrl+alt+del in my program?

And how to lock the mouse?
ths!
Nov 16 '05 #1
7 6494
wrote:
And how to lock the mouse?


Remove the keyboard and the mouse!

Ok, more serious:
Write your own gina.dll (this could not be done in managed code)
Win32-API: SetCapture?
http://msdn.microsoft.com/library/en-
us/winui/WinUI/WindowsUserInte rface/UserInput/MouseInput/MouseInputRefer enc
e/MouseInputFunct ions/SetCapture.asp

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nov 16 '05 #2
no more else gina.dll?
"Jochen Kalmbach" <no************ ********@holzma .de> дÈëÏûÏ¢
news:Xn******** *************** ***********@207 .46.248.16...
wrote:
And how to lock the mouse?
Remove the keyboard and the mouse!

Ok, more serious:
Write your own gina.dll (this could not be done in managed code)
Win32-API: SetCapture?
http://msdn.microsoft.com/library/en-

us/winui/WinUI/WindowsUserInte rface/UserInput/MouseInput/MouseInputRefer enc e/MouseInputFunct ions/SetCapture.asp

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/

Nov 16 '05 #3
As mentioned in your previous post - you can't do this in the NT based
world. the only way to become involved in the process is to write a
GINA. Winlogon hooks this key sequence and no other program can take
it away. This is to prevent what you are trying to do, which is snoop
passwords to put in a database.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 29 Sep 2004 01:42:22 +0800, <zj*****@hotmai l.com> wrote:
And how to lock the mouse?
ths!


Nov 16 '05 #4
Actually, you dont *have* to write a GINA. You can write a service that
starts automatically and captures keyboard input via a system wide keyboard
hook. It was one nasty piece of code that I wish to forget. :)

--
Girish Bharadwaj
http://msmvps.com/gbvb
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:mm******** *************** *********@4ax.c om...
As mentioned in your previous post - you can't do this in the NT based
world. the only way to become involved in the process is to write a
GINA. Winlogon hooks this key sequence and no other program can take
it away. This is to prevent what you are trying to do, which is snoop
passwords to put in a database.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 29 Sep 2004 01:42:22 +0800, <zj*****@hotmai l.com> wrote:
And how to lock the mouse?
ths!

Nov 16 '05 #5
Umm.. Coming to think of it, I could capture the password but not
necessarily Ctrl+Alt+Del key sequence. Not sure any more.

--
Girish Bharadwaj
http://msmvps.com/gbvb
"Girish Bharadwaj" <gi*****@mvps.o rg> wrote in message
news:eg******** ******@TK2MSFTN GP12.phx.gbl...
Actually, you dont *have* to write a GINA. You can write a service that
starts automatically and captures keyboard input via a system wide keyboard hook. It was one nasty piece of code that I wish to forget. :)

--
Girish Bharadwaj
http://msmvps.com/gbvb
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:mm******** *************** *********@4ax.c om...
As mentioned in your previous post - you can't do this in the NT based
world. the only way to become involved in the process is to write a
GINA. Winlogon hooks this key sequence and no other program can take
it away. This is to prevent what you are trying to do, which is snoop
passwords to put in a database.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 29 Sep 2004 01:42:22 +0800, <zj*****@hotmai l.com> wrote:
And how to lock the mouse?
ths!


Nov 16 '05 #6
"Girish Bharadwaj" <gi*****@mvps.o rg> wrote in message
news:eJ******** ******@TK2MSFTN GP12.phx.gbl...
Umm.. Coming to think of it, I could capture the password but not
necessarily Ctrl+Alt+Del key sequence. Not sure any more.


I'm told the NT uses Ctrl-Alt-Del to logon specifically because it was
the one thing that couldn't be hooked.

--
Truth,
James Curran
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
(note new day job!)
Nov 16 '05 #7
It sounds like you are trying to create an embedded system (or at least,
a single purpose system). You may want to look into WinCE for that.

--
Truth,
James Curran
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
(note new day job!)
<zj*****@hotmai l.com> wrote in message
news:Of******** *****@tk2msftng p13.phx.gbl...
And how to lock the mouse?
ths!

Nov 16 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9068
by: Pradeep M M | last post by:
Hi Folks, Can any of your folks tell me as to how can I capture the keys Ctrl+Alt+Del in C# or Vb.NET. Pradeep
1
2637
by: Pedro Graca | last post by:
Well ... I've been using Windows for a long time before I switched to Linux. I'm very used to type CTRL-ALT-DEL everytime I'm leaving my computer or arriving to it. It's hapenned _twice_ (in the last six months or so) for my Linux box. I want to be able to reboot my machine with CTRL-ALT-DEL, but I don't want to do it by mistake. So, I noticed /etc/inittab has these lines
3
44027
by: Stefan | last post by:
Hy, i have an app and i must disable this combination: ALT+F4; CTRL+ALT+DEL; CTRL+ESC;ALT+TAB like this: i find something on Internet and i can block ALT+F4 protected override System.Boolean ProcessCmdKey(ref System.Windows.Forms.Message msg,System.Windows.Forms.Keys keyData)
4
3587
by: | last post by:
I want to program a application for user login in windows.Now I has some question about disable the system hotkey(c+a+d,alt+tab,win key.etc.) and limit the mouse cursor in winform How can I do it? thanks!
3
15367
by: Kevin Bilbee | last post by:
I need to know the API call to disable the CTRL-ALT-DEL in a C# windows form. We have created a time clock application to run on a tablet PC to replace the windows shell, we are going to hang it on a wall for associates to clock in and out and check their benefits. I will disable task manager from Domain Policies but I need to disable the CTRL-ALT-DEL and also be able to renable it from a special passworded menu for administrative...
2
2135
by: Mark Callaway | last post by:
Hello I'm trying to make a little windows service which blocks access to some other program, in order to prevent my childrens to play with some of my games. It works perfectly, but the weakest point, is that they can kill my service by using the task manager. That's why i would like to disable ctrl+alt+del.
3
1939
by: ranjithsubra | last post by:
Hi , i am a new member of this group,Learning vc++, 1.If i press Ctrl+Alt+Del, what happen Desktop window will be shoutdown, logof ,etc. 2. I need to Hide the KeyCombination CTRL+ALT+DEL, when i press the this Combination ,nothing going to be happen. Regs Ranjith Kumar.S
12
5385
by: mfibrik | last post by:
hi, when i ask my program to restart the PC by Code ((Shell "Shutdown -r -f -t 0")) it's open again up to the login windows I need the code which allow me to send the ctrl+alt+Del to open the windows to complete my instantiation and running the program can anyone help me.
10
8584
by: thupham | last post by:
Dear all friend, I want disable Ctl+Alt+Del; Ctrl+Esc; Ctrl+tab, Alt+Tab, Start button, ctrl+Alt+Del, lock all keys on the keyboard. Have you ever do it in C#. Help me. Thanks for all reply.
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10145
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9938
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7366
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3523
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.