Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modem port assignment
Message
De
11/05/2000 16:07:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00368627
Message ID:
00368775
Vues:
11
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform