title: Vendor id and product id from device path
body: <p>I need to get a vendor id and device id from a known device path (like "D:\").<br>
  I need to do it in java but I could do it in c native code and call the function in java.<br>
  I've tried some java libraries such as javax.usb however I can't associate a device with it's path. 
  Now I have finished all my ideas. Can someone help me or give me a way to do it?
  I need it for windows/macOS. </p>