Get Serial Port Mapping

My VB6 app talks to multiple COM ports using an Edgeport/8 USB-serial interface.
Once connected, these Edgeport interfaces will result in an additional 8 COM ports. The ports that are displayed by Device Manager are typically COM4-COM11, but not always. The mapping varies, depending on the serial number of the Edgeport device.

What I am searching for is a method and API calls to get the current serial port mappings.

Anyone ever do this?

[450 byte] By [BarryLewis] at [2007-12-16]
# 1
Never mind, I figured it out myself. The data is in the registry under HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM.

A function called EnumRegistryValues can be found via web search. I used it to access the data.Idea

BarryLewis at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic Language...