How can I get VID and PID, and if possible, Type FILE_DEVICE_* value of devices, in System class Lower Filter driver. Both in AddDevice() or after handling IRP_MJ_START_DEVICE are fine.
Will it be in UNICODE_STRING or there is a way to get numeric values in structure(s)?
Thanks
Aneel
The system class is very broad and generic, there is nothing you can really assume you can filter as a class lower filter. What bigger problem are you trying to solve?
d
Bent from my phone
From: xxxxx@gmail.commailto:xxxxx
Sent: ?10/?28/?2013 7:09 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: [ntdev] Device IDs and type at AddDevice or IRP_MJ_START_DEVICE
How can I get VID and PID, and if possible, Type FILE_DEVICE_* value of devices, in System class Lower Filter driver. Both in AddDevice() or after handling IRP_MJ_START_DEVICE are fine.
Will it be in UNICODE_STRING or there is a way to get numeric values in structure(s)?
Thanks
Aneel
—
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>
Hmmm… Well, you can call IoGetDeviceProperty to get things like the hardware ID.
Is that what you’re looking for?
Peter
OSR