When a HID mouse defines a report with vendor-defined usage page in the Generic
Desktop / Mouse top level collection, is there a way to access it from Win32
user mode code?
As far as I know, mouse's TLC device is exclusively opened by the OS and I
cannot open it, and I cannot get WM_INPUT with RAWHID for the device either.
(all I get is WM_INPUT with RAWMOUSE, which doesn't include non-standard
information) So, I guess the answer is no, but I just want to make sure that
I'm not missing anything...
And, before you ask, no, I cannot change the device's HID descriptor.

Message 2 of 3

01 Dec 17 15:29

Doron Holan

xxxxxx@microsoft.com

Join Date: 08 Sep 2005

Posts To This List: 10232

Accessing vendor-specific report in HID mouse

You can't get at it from UM. You must use a device lower filter to get it. See
the firefly example.
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Friday, December 1, 2017 10:05 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Accessing vendor-specific report in HID mouse
When a HID mouse defines a report with vendor-defined usage page in the Generic
Desktop / Mouse top level collection, is there a way to access it from Win32
user mode code?
As far as I know, mouse's TLC device is exclusively opened by the OS and I
cannot open it, and I cannot get WM_INPUT with RAWHID for the device either.
(all I get is WM_INPUT with RAWMOUSE, which doesn't include non-standard
information) So, I guess the answer is no, but I just want to make sure that
I'm not missing anything...
And, before you ask, no, I cannot change the device's HID descriptor.
---
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 3

01 Dec 17 16:29

ntdev member 176089

xxxxxx@gmail.com

Join Date:

Posts To This List: 2

Accessing vendor-specific report in HID mouse

Thanks for confirming that filter driver is necessary.

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.