Поделиться через


Dialing Locations Registry Settings (Windows Embedded CE 6.0)

1/6/2010

The following code example shows registry settings that specify a location for dialing.

[HKEY_CURRENT_USER\ControlPanel\Dial]
    ;Location ID (value name) for the current location
    "CurrentLoc"=dword:0
    ;Next permanent location ID to be used when creating a new entry
    "HighLocID"=dword:2

;Default Location settings
[HKEY_CURRENT_USER\ControlPanel\Dial\Locations]
    ; Each MultiSz location (value name = PermLocationID" has :
    ; LocationName, LocalFmt, LdFmt, IntntlFmt, AreaCode, CwCode, CountryCode, & Options
    "0"=multi_sz: LOC_WORKLOCATIONNAME,
                  LOC_WORKLOCALFMT,
                  LOC_WORKLDFMT,
                  LOC_WORKINTNTLFMT,
                  LOC_WORKAREACODE,
                  LOC_WORKCWCODE,
                  LOC_WORKCOUNTRYCODE,
                  LOC_WORKOPTIONS
    "1"=multi_sz: LOC_HOMELOCATIONNAME,
                  LOC_HOMELOCALFMT,
                  LOC_HOMELDFMT,
                  LOC_HOMEINTNTLFMT,
                  LOC_HOMEAREACODE,
                  LOC_HOMECWCODE,
                  LOC_HOMECOUNTRYCODE,
                  LOC_HOMEOPTIONS

See Also

Other Resources

Shell Registry Settings