I have a disk filter, and when a usb mass storage is added, in AddDevice I can use IoGetDeviceProperty to get the associated Hardware IDs.
I want the numeric vendor and product ID, but USBSTOR has already converted them to string. How can I get the numeric values? i need Standard USB Identifiers
not Identifiers Generated by USBSTOR.SYS
Is it possible using a disk level filter at all, or should I use another method?
thanks
From the disk level you can’t get the usb identifiers as numbers. Either filter below usbstor or parse the hw id string at your current filtering spot
d
debt from my phone
From: xxxxx@gmail.com
Sent: 1/4/2012 3:55 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Standard USB Identifiers
I have a disk filter, and when a usb mass storage is added, in AddDevice I can use IoGetDeviceProperty to get the associated Hardware IDs.
I want the numeric vendor and product ID, but USBSTOR has already converted them to string. How can I get the numeric values? i need Standard USB Identifiers
not Identifiers Generated by USBSTOR.SYS
Is it possible using a disk level filter at all, or should I use another method?
thanks
NTDEV is sponsored by OSR
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