Is it possible that a keyboard filter driver can support keyboard and mice
filtering with the same code base?

Message 2 of 5

13 Feb 18 17:17

Doron Holan

xxxxxx@microsoft.com

Join Date: 08 Sep 2005

Posts To This List: 10202

dual role filter driver

Yes. At runtime you need to figure which stack you are filtering. If you are
filtering below kbdclass/mouclass you can immediately by which IOCTLs are sent
to you.
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@x-publisher.com
Sent: Tuesday, February 13, 2018 2:04 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] dual role filter driver
Is it possible that a keyboard filter driver can support keyboard and mice
filtering with the same code base?
---
NTDEV is sponsored by OSR
Visit the list online at:
MONTHLY seminars on crash dump analysis, WDF, Windows internals and software
drivers!
Details at
To unsubscribe, visit the List Server section of OSR Online at

Message 3 of 5

14 Feb 18 11:21

Jamey Kirby

xxxxxx@gmail.com

Join Date: 31 Dec 2014

Posts To This List: 276

dual role filter driver

yes
On Tue, Feb 13, 2018 at 5:17 PM xxxxx@microsoft.com <
xxxxx@lists.osr.com> wrote:
> Yes. At runtime you need to figure which stack you are filtering. If you
> are filtering below kbdclass/mouclass you can immediately by which IOCTLs
> are sent to you.
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] On Behalf Of
> xxxxx@x-publisher.com
--

Message 4 of 5

16 Feb 18 16:36

makrurisan makkeln

xxxxxx@x-publisher.com

Join Date: 12 Jan 2018

Posts To This List: 84

dual role filter driver

Now I want to do this but what should I do with a function like that
WdfDeviceInitSetDeviceType(DeviceInit, FILE_DEVICE_MOUSE);
Should I call it or should I change the parameter to
FILE_DEVICE_UNKNOWN?

Message 5 of 5

16 Feb 18 17:49

Doron Holan

xxxxxx@microsoft.com

Join Date: 08 Sep 2005

Posts To This List: 10202

dual role filter driver

Just use file_device_unknown. The file_device value is pretty meaningless for a
filter.
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@x-publisher.com
Sent: Friday, February 16, 2018 1:36 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] dual role filter driver
Now I want to do this but what should I do with a function like that
WdfDeviceInitSetDeviceType(DeviceInit, FILE_DEVICE_MOUSE);
Should I call it or should I change the parameter to
FILE_DEVICE_UNKNOWN?
---
NTDEV is sponsored by OSR
Visit the list online at:
MONTHLY seminars on crash dump analysis, WDF, Windows internals and software
drivers!
Details at
To unsubscribe, visit the List Server section of OSR Online at

Posting Rules

You may not post new threads

You may not post replies

You may not post attachments

You must login to OSR Online AND be a member of the ntdev list to be able to post.