Compartilhar via


Dialing Locations Registry Settings (Compact 2013)

3/28/2014

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

Reference

Shell Registry Settings