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?
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
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