Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 3  
01 Dec 17 13:05
ntdev member 176089
xxxxxx@gmail.com
Join Date:
Posts To This List: 2
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.
  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 <xxxxx@lists.osr.com> 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: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=02%7C01%7CDoron.Holan%40microsoft.com%7C84e f0f5037f7482b0ed008d538e6106f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636477 483134148702&sdata=ArlAZlMZtE%2B41CgZnn4jmGHMm3%2FzNcnBEFDYF%2FnqJjQ%3D&reserved= 0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=02%7C01%7CDoron.Holan%40microsoft.com%7C84ef0f5037f7482b0ed008d538e61 06f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636477483134148702&sdata=K%2B%2B tQOxFklWY5ODk0eLF7T2KV17FqPT8h%2FcWCBIguWg%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=02%7C01%7CDoron.Holan%40microsoft.com%7C84e f0f5037f7482b0ed008d538e6106f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636477 483134148702&sdata=dom8PgSL75dX60DUDwxfm0dnPS%2FU%2BDu3OKgbreiwCsg%3D&reserved=0>
  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.

All times are GMT -5. The time now is 19:43.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license