Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modem information in Windows Registry

Status
Not open for further replies.

MrMongo

Technical User
Oct 19, 2001
3
DE
I am designing a C++ Class, which contains information about Modems (ComPort, Internal Card or Virtual) on a Windows system. I tried to read from the Registry, but after my method worked on Win9x it won´t work on Win2k.

i queried HKEY_LOCAL_MACHINE\Enum\Root\Modem, numerated the subkeys (for amount of devices) and the queried the INformation in HKEY_LOCAL_MACHINESystem\CurrentControlSet\Services\Classfor further information.

The problem is that these keys are totally different on WIn2k machines.
Additionally, SOme modem-drivers are installed in another way, so they cannot be found at these keys.

IS THERE ANOTHER WAY to get information about installed Devices (Name, Port etc) then querying the registry.
And if this is the way, is there a reliable way to know, which keys are involved?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top