Re: how can I disable ctrl+alt + del, and windows key in vista.
- From: "Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 25 Nov 2006 12:57:46 -0800
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
.
- References:
- Re: how can I disable ctrl+alt + del, and windows key in vista.
- From: Doron Holan [MS]
- Re: how can I disable ctrl+alt + del, and windows key in vista.
- Prev by Date: Re: WdfFdoAddStaticChild not called by bus driver for child device
- Next by Date: Re: DMA transfer speed issues on PCI card with PCI and PCI-X busses
- Previous by thread: Re: how can I disable ctrl+alt + del, and windows key in vista.
- Next by thread: Re: how can I disable ctrl+alt + del, and windows key in vista.
- Index(es):
Relevant Pages
|