What are you trying to do? If you are trying to remove certain scan
codes from being reported to the class driver, you do not need to deal
with IRPs at all, you just do not report the PKEYBOARD_INPUT_DATA to the
upper class service callback and you are done.
The service callback routine does not deal with read irps (which is what
is used to report the dat) at all. The filter driver that sits below
kbdclass does not deal with read irps at all. If all you want to do is
remove scancodes, you do not need to deal with read irps at all.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
Sent: Friday, December 30, 2005 10:06 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] KbFilter_ServiceCallBack
Doron,
Thanx…
But my problem is to destroy Irp without leting it go to lower class
driver.
so for that i should use ServiceCallBack routine or someother n how.
thanx in advance.
–
IndiaInfo Mail - the free e-mail service with a difference!
www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for
mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Doron,
My filter driver will sit on classdriver.
My moto is if i press F1…F12 button,it should not work.
i had done it by…
VOID KbFilter_ServiceCallBack(IN PDEVICE_OBJECT DeviceObject,
IN PKEYBOARD_INPUT_DATA InputDataStart, IN PKEYBOARD_INPUT_DATA InputDataEnd,
IN OUT PULONG InputDataConsumed
)
{
PDEVICE_EXTENSION devExt;
// KEYBOARD_INPUT_DATA Key[12];
devExt = (PDEVICE_EXTENSION) DeviceObject->DeviceExtension;
if((InputDataStart->MakeCode >= 0x3b)
&& (InputDataStart->MakeCode <=0x44)||(InputDataStart->MakeCode ==0x133) || (InputDataStart->MakeCode == 0x134))
…Now what should i do here so dat my key sto fuctioning.
thanx in advance
----- Original Message -----
From: “Doron Holan”
To: “Windows System Software Devs Interest List”
Subject: RE: [ntdev] KbFilter_ServiceCallBack
Date: Sat, 31 Dec 2005 00:46:34 -0800
>
> What are you trying to do? If you are trying to remove certain scan
> codes from being reported to the class driver, you do not need to deal
> with IRPs at all, you just do not report the PKEYBOARD_INPUT_DATA to the
> upper class service callback and you are done.
>
> The service callback routine does not deal with read irps (which is what
> is used to report the dat) at all. The filter driver that sits below
> kbdclass does not deal with read irps at all. If all you want to do is
> remove scancodes, you do not need to deal with read irps at all.
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
> Sent: Friday, December 30, 2005 10:06 PM
> To: Windows System Software Devs Interest List
> Subject: Re:[ntdev] KbFilter_ServiceCallBack
>
> Doron,
> Thanx…
>
> But my problem is to destroy Irp without leting it go to lower class
> driver.
> so for that i should use ServiceCallBack routine or someother n how.
>
> thanx in advance.
>
> –
>
> IndiaInfo Mail - the free e-mail service with a difference!
> www.indiainfo.com
> Check out our value-added Premium features, such as an extra 20MB for
> mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
–
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
> {
PDEVICE_EXTENSION devExt;
// KEYBOARD_INPUT_DATA Key[12];
devExt = (PDEVICE_EXTENSION) DeviceObject->DeviceExtension;
if((InputDataStart->MakeCode >= 0x3b)
&& (InputDataStart->MakeCode <=0x44)||(InputDataStart->MakeCode ==0x133)
|| > (InputDataStart->MakeCode == 0x134))
…Now what should i do here so dat my key sto fuctioning.
thanx in advance
Doron already answered this about three messages back with the code to do
it.
He has answered it every other time with text.
Please look back a few messages in the archive and use that code.
You DO NOT need the IRP pointer.
Loren
>>>My moto is if i press F1…F12 button,it should not work.
Check the flagcode too and replace both scancode ( makecode ) AND the flagcode with 0xFE
C.
----- Original Message -----
From: “Vikky Kishra”
To: “Windows System Software Devs Interest List”
Sent: Saturday, December 31, 2005 10:37 AM
Subject: RE: [ntdev] KbFilter_ServiceCallBack
Doron,
My filter driver will sit on classdriver.
My moto is if i press F1…F12 button,it should not work.
i had done it by…
VOID KbFilter_ServiceCallBack(IN PDEVICE_OBJECT DeviceObject,
IN PKEYBOARD_INPUT_DATA InputDataStart, IN PKEYBOARD_INPUT_DATA InputDataEnd,
IN OUT PULONG InputDataConsumed
)
{
PDEVICE_EXTENSION devExt;
// KEYBOARD_INPUT_DATA Key[12];
devExt = (PDEVICE_EXTENSION) DeviceObject->DeviceExtension;
if((InputDataStart->MakeCode >= 0x3b)
&& (InputDataStart->MakeCode <=0x44)||(InputDataStart->MakeCode ==0x133) || (InputDataStart->MakeCode == 0x134))
…Now what should i do here so dat my key sto fuctioning.
thanx in advance
----- Original Message -----
From: “Doron Holan”
To: “Windows System Software Devs Interest List”
Subject: RE: [ntdev] KbFilter_ServiceCallBack
Date: Sat, 31 Dec 2005 00:46:34 -0800
>
> What are you trying to do? If you are trying to remove certain scan
> codes from being reported to the class driver, you do not need to deal
> with IRPs at all, you just do not report the PKEYBOARD_INPUT_DATA to the
> upper class service callback and you are done.
>
> The service callback routine does not deal with read irps (which is what
> is used to report the dat) at all. The filter driver that sits below
> kbdclass does not deal with read irps at all. If all you want to do is
> remove scancodes, you do not need to deal with read irps at all.
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Vikky Kishra
> Sent: Friday, December 30, 2005 10:06 PM
> To: Windows System Software Devs Interest List
> Subject: Re:[ntdev] KbFilter_ServiceCallBack
>
> Doron,
> Thanx…
>
> But my problem is to destroy Irp without leting it go to lower class
> driver.
> so for that i should use ServiceCallBack routine or someother n how.
>
> thanx in advance.
>
> –
>
> IndiaInfo Mail - the free e-mail service with a difference!
> www.indiainfo.com
> Check out our value-added Premium features, such as an extra 20MB for
> mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
–
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
—
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com