-
June 25th, 2009, 05:10 PM
#1
How to get USB Device Path From VID and PID
Hi
I am trying to write a user mode application, which communicate with an installed usb device. I could use CreateFile to send data to it. But i don't know how to get the device path. Its type is "Vendor Specific", so not a HID.
Someone can help please?
-
June 26th, 2009, 03:18 PM
#2
Re: How to get USB Device Path From VID and PID
Hello
The SetupDI**** API calls can be used to acquire information about devices. The devicepath can be found using " SetupDiGetDeviceInterfaceDetail "
http://msdn.microsoft.com/en-us/library/ms792901.aspx
Hope this helps
Peter
-
September 21st, 2009, 07:07 PM
#3
Re: How to get USB Device Path From VID and PID
Just to update this for other reference.
You can use this idea and techniques.
http://ulymar.u4m2.com/wp-content/up...09/09/main.PNG
http://ulymar.u4m2.com/?p=64
br
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|