PC Card Modem Registry Key Sample (Windows Embedded CE 6.0)

1/6/2010

The following code example assumes a fictitious modem that uses the PCMCIA ID "CompanyX-GenericModem-1234". For an actual modem, you would replace this string with the Plug and Play identifier, which is always of the form "CompanyName-ModelName-Checksum".

[HKEY_LOCAL_MACHINE\Drivers\PCMCIA\CompanyX-GenericModem-1234]
    "DeviceArrayIndex"=dword:1
    "Prefix"="COM"
    "Dll"="Serial.dll"
    "ResetDelay"=dword:800
[HKEY_LOCAL_MACHINE\Drivers\PCMCIA\CompanyX-GenericModem-1234\Unimodem]
    "Tsp"="Unimodem.dll"
    "FriendlyName"="CompanyX Generic Modem"
    "DeviceType"=dword:3
    "DevConfig"=hex: 10,00, 00,00, 78,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
[HKEY_LOCAL_MACHINE\Drivers\PCMCIA\CompanyX-GenericModem-1234\Unimodem\Init]
    "1"="AT<cr>"
    "2"="ATE0V1&C1&D2<cr>"
    "3"="ATS7=60M1<cr>"
[HKEY_LOCAL_MACHINE\Drivers\PCMCIA\CompanyX-GenericModem-1234\Unimodem\Settings]
    "MaxCmd"=dword:28
    "Prefix"="AT"
    "Terminator"="<cr>"
    "DialPrefix"="D"
    "DialSuffix"=";"
"DialBilling"=dword:1
    "Pulse"="P"
    "Tone"="T"
    "Blind_Off"="X4"
    "Blind_On"="X3"
    "CallSetupFailTimeout"="S7=<#>"
    "Reset"="ATZ<cr>"
    "FlowHard"="AT\Q3<cr>"
    "FlowSoft"="AT\Q1<cr>"
    "FlowOff"="AT\Q<cr>"
    "Answer"=ATA<cr>"
    "Monitor"=ATS0=0<cr>"

See Also

Concepts

TAPI Registry Settings