CCyUSBDevice->DeviceName() Not Returning the String from Device Descriptor in Vista

Question: While working with the CYAPI.lib and cyusb.sys driver  in Vista  the function CCyUSBDevice->DeviceName() returns something similar to Port_#0001.Hub_#0001 and not the string from the device descriptor. This is also visible in cyconsole.

 

Answer:

This is a known issue with CYAPI.lib which is also mentioned in the SuiteUSB release notes. CyConsole will show Port and Hub address in the place of Device Name in Vista 32 and 64 bit OS. You can use USBDevice->Product instead of USBDevice->DeviceName. This will return the same value on all operating systems.