Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to install UpperFilter driver of mouhid.sys

7 views
Skip to first unread message

T.Masuda

unread,
May 20, 2008, 9:36:51 PM5/20/08
to
I want to controll our developing HID mouse from application. Does anybody
give some advice for the following questions. Any comment will be welcome.

Can I install sample moufilter.sys as an upper filter driver of mouhid.sys?
Should I change the sample source code of moufilter.sys in DDK?
How do I change inf file?

Takashi Masuda
Japan

Ray Trent

unread,
May 21, 2008, 4:21:00 PM5/21/08
to
T.Masuda wrote:
> Can I install sample moufilter.sys as an upper filter driver of mouhid.sys?
Yes

> Should I change the sample source code of moufilter.sys in DDK?

The only change needed should be whatever logic you want to implement
for your device.

> How do I change inf file?

Change the PnP ID to that of your device.
--
Ray

Doron Holan [MSFT]

unread,
May 21, 2008, 5:14:14 PM5/21/08
to
yes, you can use moufiltr in the ddk as an upper filter to mouhid....but as
an upper filter all you will be able to do is modify the data reported by
mouhid. if you want access to the raw HID data, you will need to be a lower
filter which behaves a bit differently. if you go the lower filter route,
the best starting point is the KMDF version of the toaster filter.

as for the INF, you should match against the generic HID mouse compatible
ID, HID_DEVICE_SYSTEM_MOUSE

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.


"T.Masuda" <TMa...@discussions.microsoft.com> wrote in message
news:B95141BB-AD4F-4478...@microsoft.com...

T.Masuda

unread,
May 21, 2008, 7:53:00 PM5/21/08
to
Thanks a lot.

Doron Holan [MSFT]

unread,
May 21, 2008, 11:44:23 PM5/21/08
to
ray had a better suggestion. if you want to filter your specific device
(and not all HID devices), your INF should match your device's specific
hardware ID.

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.


"T.Masuda" <TMa...@discussions.microsoft.com> wrote in message

news:E6DD0003-6DEE-4C80...@microsoft.com...

0 new messages