I've been reading a lot of posts on SO about this but all of them are either in C# or MFC. I'm using the normal windows libraries and not the MFC shared libraries nor ATL.
I can easily enumerate the available COM ports but I don't know how to obtain the description as, for example, seen in the Device Manager within Windows. I've been reading through the MSDN and the closest I've come is SetupDiGetDeviceRegistryProperty() but I'd imagine there must be a quick way to do this. I've also found that Qt has QextSerialEnumerator::getPorts() but since I'm not using Qt I was hoping there would be something similar available from the WinAPI.
If someone has a snippet for doing so it would be greatly appreciated.