Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

276 lines
10 KiB

  1. [ENTRY]
  2. -- Taken from the Dial Up entry name in Win9x
  3. Type=<RASET-code>
  4. -- RASET codes are defined in ras.h. They are
  5. RASET_Phone (0x1) , RASET_Vpn (0x2), RASET_Direct (0x3), RASET_Internet (0x4).
  6. This setting determines what is dialup options are presented to the end user.
  7. Description=<description>
  8. -- This is not used by NT5 and nothing is migrated to it.
  9. AutoLogon=<1/0>
  10. -- ???????????????
  11. DialParamsUID=<unique-ID>
  12. -- ???????????????
  13. Guid=<guid>
  14. -- Nothing is migrated to this setting. A GUID will be assigned to the entry
  15. the first time it is used on NT 5.0.
  16. UsePwForNetwork=<1/0>
  17. -- This is unused on NT 5.0 and nothing is migrated to it.
  18. ServerType=<ST-code>
  19. -- This is unused on NT 5.0 and nothing is migrated to it.
  20. BaseProtocol=<BP-code> ;same
  21. Authentication=<AS-code> ;same
  22. ExcludedProtocols=<NP-bits> ;same
  23. LcpExtensions=<1/0> ;same
  24. DataEncryption=<DE-code> ;same, but new codes for IpSec
  25. SkipNwcWarning=<1/0> ;same
  26. SkipDownLevelDialog=<1/0> ;same
  27. SwCompression=<1/0> ;same
  28. UseCountryAndAreaCodes=<1/0> ;Deleted, becomes "UseDRules" of 1st phone#
  29. AreaCode=<string> ;Deleted, becomes "AreaCode" of 1st phone#
  30. CountryID=<id> ;Deleted, becomes "CountryID" of 1st #
  31. CountryCode=<code> ;Deleted, becomes "CountryCode" of 1st #
  32. ShowMonitorIconInTaskBar=<1/0>
  33. -- The answer to this is the value stored in !(<HKR\Remote Access\[DialUi]> & DIALUI_DONT_SHOW_ICON)
  34. CustomAuthKey=<EAP-code>
  35. -- Nothing is migrated to this key from Windows9x.
  36. CustomAuthData=<hexdump>
  37. -- Nothing is migrated to this key from Windows9x.
  38. AuthRestrictions=<AR-code>
  39. -- Nothing is migrate to this key from Windows9x.
  40. OverridePref=<RASOR-bits>
  41. -- Set to "15" on upgrade. This ensures that
  42. RedialAttempts, RedialSeconds, IdleDisconnectSeconds, and RedialOnLinkFailure are used from the
  43. entry. This is also the default set on NT 5.0.
  44. DialMode=<DM-code>
  45. -- Nothing migrated currently for this setting. Need to have multilink tested further to see if there is
  46. something that can be put there (I do not think that there is..)
  47. DialPercent=<0-100>
  48. -- Hardcoded to '90' during migration.
  49. DialSeconds=<1-n>
  50. -- Hardcoded to '120' during migration.
  51. HangUpPercent=<0-100>
  52. -- Hardcoded to '50' during migration.
  53. HangUpSeconds=<1-n>
  54. -- Hardcoded to '120' during migration.
  55. RedialAttempts=<n>
  56. -- <HKR\Remote Access\[RedialTry]>
  57. RedialSeconds=<n>
  58. -- let d = <HKR\Remote Access\[RedialWait]>, then DialSeconds = HIWORD(d) * 60 + LOWORD(d)
  59. IdleDisconnectSeconds=<-1,0-n>
  60. -- Hardcoded to '-1' during migration.
  61. RedialOnLinkFailure=<1/0>
  62. -- Defaults to 0 during migration.
  63. CallbackMode=<1/0>
  64. -- Defaults to 0 during migration.
  65. CustomDialDll=<path> ;same, i.e. NYI
  66. CustomDialFunc=<func-name> ;same, i.e. NYI
  67. AuthenticateServer=<1/0> ;same
  68. SecureLocalFiles=<1/0>
  69. -- Not used during migration.
  70. ShareMsFilePrint=<1/0>
  71. -- Not used during migration.
  72. BindMsNetClient=<1/0>
  73. -- Not used during migration (need to investigate.)
  74. SharedPhoneNumbers=<1/0> ;New
  75. PrerequisiteEntry=<entry-name> ;New
  76. PreviewUserPw=<1/0> ;New
  77. PreviewDomain=<1/0> ;New
  78. PreviewPhoneNumber=<1/0> ;New
  79. ShowDialingProgress=<1/0> ;New
  80. IpPrioritizeRemote=<1/0> ;same (PPP/SLIP only)
  81. IpHeaderCompression=<1/0> ;same (PPP/SLIP only)
  82. IpAddress=<a.b.c.d> ;same (PPP/SLIP only)
  83. IpAssign=<ASRC-code> ;same (PPP/SLIP only)
  84. IpDnsAddress=<a.b.c.d> ;same (PPP/SLIP only)
  85. IpDns2Address=<a.b.c.d> ;same (PPP/SLIP only)
  86. IpWinsAddress=<a.b.c.d> ;same (PPP/SLIP only)
  87. IpWins2Address=<a.b.c.d> ;same (PPP/SLIP only)
  88. IpNameAssign=<ASRC-code> ;same (PPP/SLIP only)
  89. IpFrameSize=<1006/1500> ;same (SLIP only)
  90. In general each section contains subsections delimited by
  91. MEDIA=<something> and DEVICE=<something> lines. There can be any number
  92. of DEVICE subsections. There can be multiple MEDIA/DEVICE sets where the
  93. position of the set determines it's sub-entry index, the first being 1,
  94. the second 2, etc.
  95. For serial media, the program currently expects 1 to 4 DEVICE subsections,
  96. representing a preconnect switch, modem, X.25 PAD, and postconnect switch.
  97. Following is a full entry:
  98. MEDIA=serial ;same
  99. Port=<port-name> ;same
  100. Device=<device-name> ;same
  101. ConnectBps=<bps> ;same, for old MXS support only
  102. DEVICE=switch ;same
  103. Type=<switchname or Terminal> ;Deleted, converted to 2 fields below
  104. Name=<switchname> ;New, name of switch or empty if none
  105. Terminal=<1/0> ;New, terminal is to run with/without above
  106. DEVICE=modem ;same
  107. PhoneNumber=<phonenumber1> ;same
  108. AreaCode=<area-code1> ;New
  109. CountryID=<id> ;New
  110. CountryCode=<country-code> ;New
  111. UseDialingRules=<1/0> ;New
  112. Comment=<arbitrary-text1> ;New, 'Description' from upgrade
  113. ...
  114. PhoneNumber=<phonenumber2> ;same
  115. AreaCode=<area-code1> ;New
  116. CountryID=<id> ;New
  117. CountryCode=<country-code> ;New
  118. UseDialingRules=<1/0> ;New
  119. Comment=<arbitrary-text2> ;New
  120. ...
  121. PhoneNumber=<phonenumberN> ;same
  122. AreaCode=<area-code1> ;New
  123. CountryID=<id> ;New
  124. CountryCode=<country-code> ;New
  125. UseDialingRules=<1/0> ;New
  126. Comment=<arbitrary-textn> ;New
  127. LastSelectedPhone=<index> ;New
  128. PromoteAlternates=<1/0> ;same
  129. TryNextAlternateOnFail=<1/0> ;New
  130. TapiBlob=<hexdump> ;same, i.e. #if 0'd out
  131. ManualDial=<1/0> ;For old MXS support only
  132. HwFlowControl=<1/0> ;For old MXS support only
  133. Protocol=<1/0> ;For old MXS support only
  134. Compression=<1/0> ;For old MXS support only
  135. DEVICE=pad ;same
  136. X25Pad=<padtype> ;same
  137. X25Address=<X121address> ;same
  138. UserData=<userdata> ;same
  139. Facilities=<facilities> ;same
  140. DEVICE=switch ;same
  141. Type=<switchname or Terminal> ;Deleted, converted to 2 fields below
  142. Name=<switchname> ;New, name/path of switch or empty if none
  143. Terminal=<1/0> ;New, terminal is to run with/without above
  144. For ISDN media, the program expects exactly 1 DEVICE subsection. Note
  145. that ISDN is now identical to the "other" case.
  146. MEDIA=isdn ;same
  147. Port=<port-name> ;same
  148. Device=<device-name> ;same
  149. DEVICE=isdn ;same
  150. PhoneNumber=<phonenumber1> ;same
  151. AreaCode=<area-code1> ;New
  152. CountryID=<id> ;New
  153. CountryCode=<country-code> ;New
  154. UseDialingRules=<1/0> ;New
  155. Comment=<arbitrary-text1> ;New, 'Description' from upgrade
  156. ...
  157. PhoneNumber=<phonenumber2> ;same
  158. AreaCode=<area-code1> ;New
  159. CountryID=<id> ;New
  160. CountryCode=<country-code> ;New
  161. UseDialingRules=<1/0> ;New
  162. Comment=<arbitrary-text2> ;New
  163. ...
  164. PhoneNumber=<phonenumberN> ;same
  165. AreaCode=<area-code1> ;New
  166. CountryID=<id> ;New
  167. CountryCode=<country-code> ;New
  168. UseDialingRules=<1/0> ;New
  169. Comment=<arbitrary-textn> ;New
  170. LastSelectedPhone=<index> ;New
  171. PromoteAlternates=<1/0> ;same
  172. TryNextPhoneNumberOnFail=<1/0> ;New
  173. LineType=<0/1/2> ;same
  174. Fallback=<1/0> ;same
  175. EnableCompression=<1/0> ;For old protocol only
  176. ChannelAggregation=<channels> ;For old protocol only
  177. For X.25 media, the program expects exactly 1 DEVICE subsection.
  178. MEDIA=x25 ;same
  179. Port=<port-name> ;same
  180. Device=<device-name> ;same
  181. DEVICE=x25 ;same
  182. X25Address=<X121address> ;same
  183. UserData=<userdata> ;same
  184. Facilities=<facilities> ;same
  185. For other media, the program expects exactly one DEVICE subsection with
  186. device name matching the media. "Other" media and devices are created for
  187. entries assigned to all non-serial medias including ISDN which now matches
  188. the rules for "other".
  189. MEDIA=<media> ;same
  190. Port=<port-name> ;same
  191. Device=<device-name> ;same
  192. DEVICE=<media> ;same
  193. PhoneNumber=<phonenumber1> ;same
  194. AreaCode=<area-code1> ;New
  195. CountryID=<id> ;New
  196. CountryCode=<country-code> ;New
  197. UseDialingRules=<1/0> ;New
  198. Comment=<arbitrary-text1> ;New, 'Description' from upgrade
  199. ...
  200. PhoneNumber=<phonenumber2> ;same
  201. AreaCode=<area-code1> ;New
  202. CountryID=<id> ;New
  203. CountryCode=<country-code> ;New
  204. UseDialingRules=<1/0> ;New
  205. Comment=<arbitrary-text2> ;New
  206. ...
  207. PhoneNumber=<phonenumberN> ;same
  208. AreaCode=<area-code1> ;New
  209. CountryID=<id> ;New
  210. CountryCode=<country-code> ;New
  211. UseDialingRules=<1/0> ;New
  212. Comment=<arbitrary-textn> ;New
  213. LastSelectedPhone=<index> ;New
  214. PromoteAlternates=<1/0> ;same
  215. TryNextPhoneNumberOnFail=<1/0> ;New
  216. The phonebook also supports the concept of "custom" entries, i.e. entries
  217. that fit the MEDIA followed by DEVICE subsection rules but which do not
  218. include certain expected key fields. A custom entry is not editable with
  219. the UI, but may be chosen for connection. This gives us a story for new
  220. drivers added by 3rd parties or after release and not yet fully supported
  221. in the UI. (NOTE: Support for this may be dropped in RAS API)