I recently found an article on MSDN about Calling Windows Runtime APIs in dekstop apps, so I decided to give it a shot. I tried connecting to my CR95HF transceiver that's plugged into COM3 (USB) using the UsbDevice device class.
When I open up the Device Manager and check for COM3, Windows says that FTDIBUS\VID_0403+PID_6001+FTBHOWVPA\0000
is plugged in. Its parent is USB\VID_0403&PID_6001\FTBHOWVP
because the port is virtualised. For both names, the vendor id is 0403 (1027 in decimal) and the product id is 6001 (24577 in decimal), so I tried follow the exact same steps as the tutorial on the UsbDevice MSDN page, but the USB device was not found.
I've made sure that Device Manager was not open when I tried to find the UsbDevice, and I also made sure nothing else was trying to talk to COM3. What could be the issue?