Keyboard filter sample and user mode control

If I want an application to interface into driver to enable and disable dropping beside some additional tasks, how could I add new device object into the same driver and how could I know which device I am dealing with in the pnp and dispatch calls to the driver object?

thanks for your help and support

Hesham
----- Original Message -----
From: Mark Shnaider
To: NT Developers Interest List
Sent: Tuesday, January 15, 2002 10:57 AM
Subject: [ntdev] Re: Keyboard Filter sample and Removing keys from the queue

Hi Hesham
I think you can assign new Buffer for InputDataConsumed , place packets KEYBOARD_INPUT_DATA in this buffer, change InputDataStart,InputDataEnd
in function KbFilter_ServiceCallback and call ClassService using new parameters.
(see also KeyboardClassServiceCallback in file kbdclass.c)
regards
Mark
Hesham Desouky wrote:

Thanks Mark,but this sample not 100% wdm compatible.The DDK Keyboard filter sample install the filter over the keyboard filter and start with the system startup as a driver not as a service.This sample is working great but there is a small problem. How can I remove or add new keys to the keys queue in theservice call back function? thanks in advance Hesham
----- Original Message -----
From: Mark Shnaider
To: NT Developers Interest List
Sent: Sunday, January 13, 2002 10:37 AM
Subject: [ntdev] Re: Keyboard Filter sample and Removing keys from the queue
Hi
You can see example from
http://www.sysinternals.com/ntw2k/source/ctrl2cap.shtml
Maybe it help you
regard
Mark
Hesham Desouky wrote:

Hi all,I have used the win2k ddk keyboard filter sample as a template to build a keyboard filter.every thing is going ok if I want to modify the keys code.My concern now is how can I add or remove to the keyboard packet that I recieved in the filter SeviceCallback functions ( I need to know how is the packet data I recieved from the callback allocated). Thanks in advance Hesham ---
You are currently subscribed to ntdev as: xxxxx@arx.com
To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com

You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com

You are currently subscribed to ntdev as: xxxxx@arx.com
To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com

You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com


You are currently subscribed to ntdev as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-ntdev-$subst('Recip.MemberIDChar')@lists.osr.com