Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modem port assignment
Message
From
11/05/2000 16:07:27
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00368627
Message ID:
00368775
Views:
12
>Win windows 95 / 98 the modem name and port assignment are found in the registry. With win 2000 or NT4 I have not been able to find out how to detect a modem and the port assignment

The COM ports are named in HKEY_LOCAL_MACHINE\Hardware\DeviceMap\SERIALCOMM - it names them but does not tell you about them. The modems are in the registry but are managed via TAPI and RAS; NT is not happy with standard applications doing direct I/O through hardware; much of the stability and safety of the NT and 2K platform is based on the OS virtualizing the underlying hardware and guarding against direct resource access by untrusted application-layer processes.

The current modem detail is found under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Modem - it's not the details you want, though. The TAPI detail is at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TapiSrv
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform