Re: how can I disable ctrl+alt + del, and windows key in vista.



you have to maintain your own state machine b/c you will only see one key
up/down at a time in a KEYBOARD_INPUT_DATA. What SystemBuffer are you
talking about? in the read irp? are you filtering above kbdclass or below
it?

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Mike Carlisle" <MikeCarlisle@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F86A0920-05FB-4AEA-83C6-9E7E65A5CFD0@xxxxxxxxxxxxxxxx
Ok I've gotten as far as writting and installing a driver. I can disable
Ctrl-Alt-Del by always changing the Ctrl key, what I can't work out how to
do
is trap Ctrl-Alt-Del explicity.

What scan code/codes do I need to use? I tried changing the Ctrl key to
something else when Alt (0x38) and Del (0x53) is also pressed but it
doesn't
work.

How can I detect the key combination from SystemBuffer?


"Doron Holan [MS]" wrote:

the WDF kbfiltr example shows you how to install a keyboard filter driver
from which you can filter out the keys

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Mike Carlisle" <MikeCarlisle@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C99A18CA-E81F-4DD8-9298-5F0BB216DE7A@xxxxxxxxxxxxxxxx
You can trap the windows key using a keybroad hook with the
SetWindowsHookEx
api. Just eat the event.

I'm also interested in how to trap ctrl-alt-del on vista, and have been
looking at the DDK with the hope of writting the filter driver, but
know
very
little about this.

Did you have any luck? Has anyone got any pointers, sample code?

"rocli" wrote:

1.how can I disable ctrl+alt + del, and windows key.
when my program is running ,disable ctrl+alt + del, and windows key.
when my program leave. enable ctrl+alt + del, and windows key .

In windows xp , I disable ctrl+alt + del by rewrite gina.but in vista
gina
is not supported.
Must I write a key board driver.
how can I do that.

2. if I do that, can it work well at vista.

3.I know little about DDK, how can I do it.

best regards





.



Relevant Pages

  • Re: how can I disable ctrl+alt + del, and windows key in vista.
    ... How can I detect the key combination from SystemBuffer? ... I'm also interested in how to trap ctrl-alt-del on vista, ... when my program is running,disable ctrl+alt + del, and windows key. ...
    (microsoft.public.development.device.drivers)
  • Bash scripting problems
    ... in /root/.bashrc there is an alias which breaks my script in the following ... When I need to copy or del a file the rm -i and cp -i are preventing things ... Manufacturers of Proline Computers ...
    (Fedora)
  • Re: OT: the rm bug hit me again
    ... That's not a good idea as it teaches you to expect to be prompted, and you'll be bitten badly some time when the alias isn't present. ... Better to alias it to some command which doesn't exist, like del, and train yourself to use del. ... University of Leicester, Leicester, LE1 7RH, UK ...
    (Fedora)
  • Re: OT: the rm bug hit me again
    ... 'del: command not found' rather than a depleted filesystem. ... I seem to recall that del was a preset alias on some Linux ...
    (Fedora)
  • Re: OT: the rm bug hit me again
    ... Nigel Wade wrote: ... That's not a good idea as it teaches you to expect to be prompted, and you'll be bitten badly some time when the alias isn't present. ... Better to alias it to some command which doesn't exist, like del, and train yourself to use del. ...
    (Fedora)