USB 3.0 port the DevicePath received has wrong value RRS feed

  • Question

  • I am using a device for measurement purpose.  I use SetupDiGetDeviceInterfaceDetail to get the DevicePath in structure _SP_DEVICE_INTERFACE_DETAIL_DATA.

    On connecting to USB 3.0 port, the DevicePath received has wrong value for Device serial number which is supposed to come appended after VID and PID in the DevicePath. When I connect same device on USB 2.0 port I get the correct value for the serial number.

    Does anyone has idea whats is going wrong or how to handle it.

    Thanks in advance.

    Friday, March 15, 2013 10:55 AM


  • The device pay string is opaque, you should never parse it. Look at the usbview example for getting the serial number

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, March 15, 2013 2:25 PM