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.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 13 November 2017

Kernel Debugging & Crash Analysis for Windows, Nashua (Amherst) NH, 4 December 2017

Writing WDF Drivers I: Core Concepts, Nashua (Amherst) NH, 8 January 2018

WDF Drivers II: Advanced Implementation Techniques, Nashua (Amherst) NH, 15 January 2018


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
Susumu Arai
xxxxxx@gmail.com
Join Date: 01 Dec 2017
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: 10106
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:bounce-642662-26293@lists.o= sr.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 Gen= eric 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 th= at I'm not missing anything... And, before you ask, no, I cannot change the device's HID descriptor.=20 --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?u= rl=3Dhttp%3A%2F%2Fwww.osronline.com%2Fshowlists.cfm%3Flist%3Dntdev&data=3D0= 2%7C01%7CDoron.Holan%40microsoft.com%7C84ef0f5037f7482b0ed008d538e6106f%7C7= 2f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636477483134148702&sdata=3DArlAZl= MZtE%2B41CgZnn4jmGHMm3%2FzNcnBEFDYF%2FnqJjQ%3D&reserved=3D0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and softwar= e drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F= %2Fwww.osr.com%2Fseminars&data=3D02%7C01%7CDoron.Holan%40microsoft.com%7C84= ef0f5037f7482b0ed008d538e6106f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7= C636477483134148702&sdata=3DK%2B%2BtQOxFklWY5ODk0eLF7T2KV17FqPT8h%2FcWCBIgu= Wg%3D&reserved=3D0> To unsubscribe, visit the List Server section of OSR Online at <https://na0= 1.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fwww.osronline.com%2F= page.cfm%3Fname%3DListServer&data=3D02%7C01%7CDoron.Holan%40microsoft.com%7= C84ef0f5037f7482b0ed008d538e6106f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C= 0%7C636477483134148702&sdata=3Ddom8PgSL75dX60DUDwxfm0dnPS%2FU%2BDu3OKgbreiw= Csg%3D&reserved=3D0>
  Message 3 of 3  
01 Dec 17 16:29
Susumu Arai
xxxxxx@gmail.com
Join Date: 01 Dec 2017
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 21:42.


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