Hi,
I’m going to install the Winusb.sys to the USB Input Device which inherits one HID device. One of our application actually communicates with the HID device. If I install the Winusb.sys on the USB Input Device, then the hidclass.sys gets replaced by the WinUsb.sys. In that case, will the HID device get ruined such that the existing application can’t work anymore because the HID device gets removed?
Thanks,
Marshall
Correct, hid.dll and associated hid Io semantics will go away and you must use winusb.dll apis instead
d
Bent from my phone
From: xxxxx@hotmail.commailto:xxxxx
Sent: ?11/?12/?2014 7:39 PM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: [ntdev] About installing the Winusb on the USB Input Device
Hi,
I’m going to install the Winusb.sys to the USB Input Device which inherits one HID device. One of our application actually communicates with the HID device. If I install the Winusb.sys on the USB Input Device, then the hidclass.sys gets replaced by the WinUsb.sys. In that case, will the HID device get ruined such that the existing application can’t work anymore because the HID device gets removed?
Thanks,
Marshall
—
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>
Thanks, Doron. Is it possible to install the Winusb.sys as the upper filter of hidusb.sys. The MSDN http://msdn.microsoft.com/en-us/library/windows/hardware/ff540207(v=vs.85).aspx says that the Winusb.sys can be installed as filter driver, after all.
“?Winusb.sys is a kernel-mode driver that can be installed as either a filter or function driver, above the protocol drivers in a USB device’s kernel-mode device stack”
If that’s the case, will the HID device still work with the existing software application?
No, you can’t have winusb as a filter of hidclass. Winusb is only functional as a filter for supporting umdf.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@hotmail.com
Sent: Wednesday, November 12, 2014 8:02 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] About installing the Winusb on the USB Input Device
Thanks, Doron. Is it possible to install the Winusb.sys as the upper filter of hidusb.sys. The MSDN http://msdn.microsoft.com/en-us/library/windows/hardware/ff540207(v=vs.85).aspx says that the Winusb.sys can be installed as filter driver, after all.
“?Winusb.sys is a kernel-mode driver that can be installed as either a filter or function driver, above the protocol drivers in a USB device’s kernel-mode device stack”
If that’s the case, will the HID device still work with the existing software application?
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Ok, I see. Does that mean I can have a UMDF filter driver sitting under the hidusb.sys?
No, you can’t
d
Bent from my phone
From: xxxxx@hotmail.commailto:xxxxx
Sent: ?11/?12/?2014 9:41 PM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: RE:[ntdev] About installing the Winusb on the USB Input Device
Ok, I see. Does that mean I can have a UMDF filter driver sitting under the hidusb.sys?
—
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>