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?
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?