USB to Serial Comm Device Change Event

[quote=45290:@Chris Carter]WinAPI_ prefix is just my own coding convention for Windows API related funtions and constants - these refer to windows system functions which are built in. I tested this under Windows XP…
If you run the project it should work and fill a listbox with a tree view of device information.

I haven’t’ done a lot of MAC specific stuff, but if I plug a USB->Serial device in to my Mac Mini and then use the RB/Xojo serial class to look at COM ports, the USB one(s) have names starting usbmodem

I also see that MBS plugin Mac USB Devices shows some useful information[/quote]
Yep, I run it on my Windows 7 laptop, it runs just like your description. So, all the WinAPI_ is comming from setupapi.dll? How does the Windows API function hook up?