Leaked source code of windows server 2003
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.

463 lines
16 KiB

  1. ; NETRASA.INX -- WAN Miniports and wrappers
  2. ;
  3. ; Copyright (c) Microsoft Corporation. All rights reserved.
  4. [Version]
  5. Signature = "$Windows NT$"
  6. Class = Net
  7. ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
  8. Provider = %Msft%
  9. LayoutFile = layout.inf
  10. [ControlFlags]
  11. ExcludeFromSelect =\
  12. SW\{eeab7790-c514-11d1-b42b-00805fc1270e},\
  13. MS_IrdaMiniport,\
  14. MS_IrModemMiniport, \
  15. MS_L2tpMiniport,MS_PptpMiniport,MS_PtiMiniport,\
  16. MS_PppoeMiniport, \
  17. MS_NdisWanAtalk,\
  18. MS_NdisWanBh,\
  19. MS_NdisWanIp,\
  20. MS_NdisWanIpx,\
  21. MS_NdisWanNbfIn,MS_NdisWanNbfOut
  22. [Manufacturer]
  23. %Msft% = Msft
  24. [Msft]
  25. ; DisplayName Section DeviceID
  26. ; ----------- ------- --------
  27. %Mp-AsyncMac-DispName% = Ndi-Mp-AsyncMac, "SW\{eeab7790-c514-11d1-b42b-00805fc1270e}"
  28. %Mp-Irda-Dispname% = Ndi-Mp-Irda, "MS_IrdaMiniport"
  29. %Mp-IrModem-Dispname% = Ndi-Mp-IrModem, "MS_IrModemMiniport"
  30. %Mp-L2tp-Dispname% = Ndi-Mp-L2tp, "MS_L2tpMiniport"
  31. %Mp-Pptp-Dispname% = Ndi-Mp-Pptp, "MS_PptpMiniport"
  32. %Mp-Pti-Dispname% = Ndi-Mp-Pti, "MS_PtiMiniport"
  33. %Mp-Atalk-DispName% = Ndi-Mp-Atalk, "MS_NdisWanAtalk"
  34. %Mp-Bh-DispName% = Ndi-Mp-Bh, "MS_NdisWanBh"
  35. %Mp-Ip-DispName% = Ndi-Mp-Ip, "MS_NdisWanIp"
  36. %Mp-Ipx-DispName% = Ndi-Mp-Ipx, "MS_NdisWanIpx"
  37. %Mp-NbfIn-DispName% = Ndi-Mp-NbfIn, "MS_NdisWanNbfIn"
  38. %Mp-NbfOut-DispName% = Ndi-Mp-NbfOut, "MS_NdisWanNbfOut"
  39. %Mp-Pppoe-DispName% = Ndi-Mp-Pppoe, "MS_PppoeMiniport"
  40. [Ndi-Mp-AsyncMac]
  41. Characteristics = 0x002A ; NCF_SOFTWARE_ENUMERATED | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  42. AddReg = Ndi-Reg-Mp-AsyncMac
  43. CopyFiles = CopyFiles_AllUsers
  44. [Ndi-Mp-Irda]
  45. CopyFiles = RasIrda.CopyFiles
  46. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  47. AddReg = Ndi-Reg-Mp-Irda
  48. [Ndi-Mp-IrModem]
  49. CopyFiles = RasIrda.CopyFiles
  50. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  51. AddReg = Ndi-Reg-Mp-IrModem
  52. [Ndi-Mp-L2tp]
  53. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  54. AddReg = Ndi-Reg-Mp-L2tp
  55. [Ndi-Mp-Pptp]
  56. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  57. AddReg = Ndi-Reg-Mp-Pptp
  58. [Ndi-Mp-Pptp.Hw]
  59. AddReg = Reg-LowerFilter-NdisTapi
  60. [Ndi-Mp-Pti]
  61. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  62. AddReg = Ndi-Reg-Mp-Pti
  63. [Ndi-Mp-Pti.Hw]
  64. AddReg = Reg-LowerFilter-Pti
  65. [Ndi-Mp-Atalk]
  66. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  67. AddReg = Ndi-Reg-Mp-Atalk
  68. [Ndi-Mp-Atalk.Hw]
  69. AddReg = Reg-LowerFilter-NdisTapi
  70. [Ndi-Mp-Bh]
  71. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  72. AddReg = Ndi-Reg-Mp-Bh
  73. [Ndi-Mp-Bh.Hw]
  74. AddReg = Reg-LowerFilter-NdisTapi
  75. [Ndi-Mp-Ip]
  76. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  77. AddReg = Ndi-Reg-Mp-Ip
  78. [Ndi-Mp-Ip.Hw]
  79. AddReg = Reg-LowerFilter-NdisTapi
  80. [Ndi-Mp-Ipx]
  81. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  82. AddReg = Ndi-Reg-Mp-Ipx
  83. [Ndi-Mp-Ipx.Hw]
  84. AddReg = Reg-LowerFilter-NdisTapi
  85. [Ndi-Mp-NbfIn]
  86. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  87. AddReg = Ndi-Reg-Mp-NbfIn
  88. [Ndi-Mp-NbfIn.Hw]
  89. AddReg = Reg-LowerFilter-NdisTapi
  90. [Ndi-Mp-NbfOut]
  91. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  92. AddReg = Ndi-Reg-Mp-NbfOut
  93. [Ndi-Mp-NbfOut.Hw]
  94. AddReg = Reg-LowerFilter-NdisTapi
  95. [Ndi-Mp-Pppoe]
  96. Characteristics = 0x0029 ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
  97. AddReg = Ndi-Reg-Mp-Pppoe
  98. [Ndi-Mp-Pppoe.Hw]
  99. AddReg = Reg-LowerFilter-NdisTapi
  100. ;-------------------------------------------------------------------------
  101. ; Lower filter sections
  102. ;-------------------------------------------------------------------------
  103. [Reg-LowerFilter-NdisTapi]
  104. HKR, , LowerFilters, 0x00010000, "NdisTapi"
  105. [Reg-LowerFilter-Pti]
  106. HKR, , LowerFilters, 0x00010000, "PtiLink"
  107. ;-------------------------------------------------------------------------
  108. ; NDI AddReg sections.
  109. ;-------------------------------------------------------------------------
  110. [Ndi-Reg-Mp-AsyncMac]
  111. HKR, Ndi, Service, 0, "AsyncMac"
  112. HKR, Ndi\Interfaces, UpperRange, 0, "ndiswanasync"
  113. HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
  114. HKR, , PnPCapabilities, 0x00010001, 1
  115. [Ndi-Reg-Mp-Irda]
  116. HKR, Ndi, Service, 0, "Rasirda"
  117. HKR, Ndi\Interfaces, UpperRange, 0, "ndiscowan"
  118. HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
  119. HKR, , MinWanEndpoints, 0x00010001, 0
  120. HKR, , MaxWanEndpoints, 0x00010001, 4
  121. HKR, , WanEndpoints, 0x00010003, 1
  122. HKR, , ModemPort, 0x00010003, 0
  123. HKR, , TapiLineName, 0, %Mp-Irda-LineName%
  124. [Ndi-Reg-Mp-IrModem]
  125. HKR, Ndi, Service, 0, "Rasirda"
  126. HKR, Ndi\Interfaces, UpperRange, 0, "ndiscowan"
  127. HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
  128. HKR, , MinWanEndpoints, 0x00010001, 0
  129. HKR, , MaxWanEndpoints, 0x00010001, 1
  130. HKR, , WanEndpoints, 0x00010003, 1
  131. HKR, , ModemPort, 0x00010003, 1
  132. HKR, , TapiLineName, 0, %Mp-IrModem-LineName%
  133. [Ndi-Reg-Mp-L2tp]
  134. HKR, Ndi, Service, 0, "Rasl2tp"
  135. HKR, Ndi\Interfaces, UpperRange, 0, "ndiscowan"
  136. HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
  137. HKR, , MinWanEndpoints, 0x00010001, 0
  138. @w:HKR, , MaxWanEndpoints, 0x00010001, 100
  139. @s!e:HKR, , MaxWanEndpoints, 0x00010001, 1000
  140. @e:HKR, , MaxWanEndpoints, 0x00010003, 1000
  141. @w:HKR, , WanEndpoints, 0x00010003, 2
  142. @s:HKR, , WanEndpoints, 0x00010003, 5
  143. [Ndi-Reg-Mp-Pptp]
  144. HKR, Ndi, Service, 0, "PptpMiniport"
  145. HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
  146. HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
  147. HKR, , MinWanEndpoints, 0x00010001, 0
  148. @w:HKR, , MaxWanEndpoints, 0x00010001, 32
  149. @s!e:HKR, , MaxWanEndpoints, 0x00010001, 1000
  150. @e:HKR, , MaxWanEndpoints, 0x00010003, 1000
  151. HKR, , TapiLineName, 0, %Mp-Pptp-LineName%
  152. HKR, , InactivityIdleSeconds, 0, 60
  153. HKR, , TcpPortNumber, 0x00010003, 1723
  154. HKR, , TcpDisconnectTimeout, 0x00010003, 30
  155. HKR, , TcpConnectTimeout, 0x00010003, 30
  156. HKR, , ClientIpAddresses, 0x00010002, ""
  157. HKR, , ClientIpMasks, 0x00010002, ""
  158. HKR, , AuthenticateIncomingCalls, 0x00010003, 0
  159. @w:HKR, , WanEndpoints, 0x00010003, 2
  160. @s:HKR, , WanEndpoints, 0x00010003, 5
  161. [Ndi-Reg-Mp-Pti]
  162. HKR, Ndi, Service, 0, "Raspti"
  163. HKR, Ndi\Interfaces, UpperRange, 0, "ndiscowan"
  164. HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
  165. HKR, , MinWanEndpoints, 0x00010001, 0
  166. HKR, , MaxWanEndpoints, 0x00010001, 2
  167. HKR, , WanEndpoints, 0x00010003, 2
  168. [Ndi-Reg-Mp-Atalk]
  169. HKR, Ndi, BindForm, 0, "NdisWanAtalk"
  170. HKR, Ndi, Service, 0, "NdisWan"
  171. HKR, Ndi\Interfaces, UpperRange, 0, "ndiswanatalk"
  172. HKR, Ndi\Interfaces, LowerRange, 0, "wan"
  173. HKR, , EnumExportPref, 0x00010001, 0
  174. [Ndi-Reg-Mp-Bh]
  175. HKR, Ndi, BindForm, 0, "NdisWanBh"
  176. HKR, Ndi, Service, 0, "NdisWan"
  177. HKR, Ndi\Interfaces, UpperRange, 0, "ndiswanbh"
  178. HKR, Ndi\Interfaces, LowerRange, 0, "wan"
  179. HKR, , EnumExportPref, 0x00010001, 0
  180. [Ndi-Reg-Mp-Ip]
  181. HKR, Ndi, BindForm, 0, "NdisWanIp"
  182. HKR, Ndi, Service, 0, "NdisWan"
  183. HKR, Ndi\Interfaces, UpperRange, 0, "ndiswanip"
  184. HKR, Ndi\Interfaces, LowerRange, 0, "wan"
  185. [Ndi-Reg-Mp-Ipx]
  186. HKR, Ndi, BindForm, 0, "NdisWanIpx"
  187. HKR, Ndi, Service, 0, "NdisWan"
  188. HKR, Ndi\Interfaces, UpperRange, 0, "ndiswanipx"
  189. HKR, Ndi\Interfaces, LowerRange, 0, "wan"
  190. HKR, , EnumExportPref, 0x00010001, 0
  191. [Ndi-Reg-Mp-NbfIn]
  192. HKR, Ndi, BindForm, 0, "NdisWanNbfIn%%3"
  193. HKR, Ndi, Service, 0, "NdisWan"
  194. HKR, Ndi\Interfaces, UpperRange, 0, "ndiswannbf"
  195. HKR, Ndi\Interfaces, LowerRange, 0, "wan"
  196. HKR, , EnumExportPref, 0x00010001, 0
  197. [Ndi-Reg-Mp-NbfOut]
  198. HKR, Ndi, BindForm, 0, "NdisWanNbfOut%%3"
  199. HKR, Ndi, Service, 0, "NdisWan"
  200. HKR, Ndi\Interfaces, UpperRange, 0, "ndiswannbf"
  201. HKR, Ndi\Interfaces, LowerRange, 0, "wan"
  202. HKR, , EnumExportPref, 0x00010001, 1
  203. [Ndi-Reg-Mp-Pppoe]
  204. HKR, Ndi, Service, 0, "RasPppoe"
  205. HKR, Ndi\Interfaces, UpperRange, 0, "ndiswan"
  206. HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
  207. HKR, , MinWanEndpoints, 0x00010001, 0
  208. @w:HKR, , MaxWanEndpoints, 0x00010001, 100
  209. @s:HKR, , MaxWanEndpoints, 0x00010001, 1000
  210. HKR, , TapiLineName, 0, %Mp-Pppoe-LineName%
  211. HKR, , WanEndpoints, 0x00010003, 1
  212. ;-------------------------------------------------------------------------
  213. ; [Services] sections.
  214. ; 1 = SPSVCINST_TAGTOFRONT
  215. ; 2 = SPSVCINST_ASSOCSERVICE
  216. ; 4 = SPSVCINST_DELETEEVENTLOGENTRY
  217. ;-------------------------------------------------------------------------
  218. [Ndi-Mp-AsyncMac.Services]
  219. AddService = AsyncMac, 2, Svc-Mp-AsyncMac, Evt-Rasmsg
  220. [Ndi-Mp-Irda.Services]
  221. AddService = Rasirda, 2, Svc-Mp-Irda
  222. [Ndi-Mp-IrModem.Services]
  223. AddService = Rasirda, 2, Svc-Mp-IrModem
  224. [Ndi-Mp-L2tp.Services]
  225. AddService = Rasl2tp, 2, Svc-Mp-L2tp
  226. [Ndi-Mp-Pti.Services]
  227. AddService = Raspti, 2, Svc-Mp-Pti
  228. AddService = Ptilink, 0, Svc-Ptilink
  229. [Ndi-Mp-Pptp.Services]
  230. AddService = PptpMiniport, 2, Svc-Mp-Pptp, Evt-Pptp
  231. AddService = NdisTapi, 0, Svc-NdisTapi
  232. [Ndi-Mp-Atalk.Services]
  233. AddService = NdisWan, 2, Svc-Mp-NdisWan, Evt-Rasmsg
  234. AddService = NdisTapi, 0, Svc-NdisTapi
  235. [Ndi-Mp-Bh.Services]
  236. AddService = NdisWan, 2, Svc-Mp-NdisWan, Evt-Rasmsg
  237. AddService = NdisTapi, 0, Svc-NdisTapi
  238. [Ndi-Mp-Ip.Services]
  239. AddService = NdisWan, 2, Svc-Mp-NdisWan, Evt-Rasmsg
  240. AddService = NdisTapi, 0, Svc-NdisTapi
  241. AddService = Wanarp, 0, Svc-Wanarp
  242. [Ndi-Mp-Ipx.Services]
  243. AddService = NdisWan, 2, Svc-Mp-NdisWan, Evt-Rasmsg
  244. AddService = NdisTapi, 0, Svc-NdisTapi
  245. [Ndi-Mp-NbfIn.Services]
  246. AddService = NdisWan, 2, Svc-Mp-NdisWan, Evt-Rasmsg
  247. AddService = NdisTapi, 0, Svc-NdisTapi
  248. [Ndi-Mp-NbfOut.Services]
  249. AddService = NdisWan, 2, Svc-Mp-NdisWan, Evt-Rasmsg
  250. AddService = NdisTapi, 0, Svc-NdisTapi
  251. [Ndi-Mp-Pppoe.Services]
  252. AddService = RasPppoe, 2, Svc-Mp-Pppoe
  253. AddService = NdisTapi, 0, Svc-NdisTapi
  254. ;-------------------------------------------------------------------------
  255. ; [Service Install] sections.
  256. ;-------------------------------------------------------------------------
  257. [Svc-Mp-AsyncMac]
  258. DisplayName = %Svc-Mp-AsyncMac-DispName%
  259. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  260. StartType = 3 ;SERVICE_DEMAND_START
  261. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  262. ServiceBinary = %12%\asyncmac.sys
  263. Description = %Svc-Mp-AsyncMac-DispName%
  264. [Svc-NdisTapi]
  265. DisplayName = %Svc-NdisTapi-DispName%
  266. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  267. StartType = 3 ;SERVICE_DEMAND_START
  268. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  269. ServiceBinary = %12%\ndistapi.sys
  270. AddReg = Reg-NdisTapi
  271. Description = %Svc-NdisTapi-DispName%
  272. [Reg-NdisTapi]
  273. HKR, Parameters, AsyncEventQueueSize, 0x00010003, 0x300
  274. [Svc-Mp-NdisWan]
  275. DisplayName = %Svc-NdisWan-DispName%
  276. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  277. StartType = 3 ;SERVICE_DEMAND_START
  278. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  279. ServiceBinary = %12%\ndiswan.sys
  280. ;Dependencies = NdisTapi
  281. AddReg = Reg-NdisWan
  282. Description = %Svc-NdisWan-DispName%
  283. [Reg-NdisWan]
  284. HKR, Parameters,, 0x10 ;FLG_ADDREG_KEYONLY
  285. [Svc-Mp-Irda]
  286. DisplayName = %Svc-Mp-Irda-DispName%
  287. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  288. StartType = 3 ;SERVICE_DEMAND_START
  289. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  290. ServiceBinary = %12%\rasirda.sys
  291. Description = %Svc-Mp-Irda-DispName%
  292. [Svc-Mp-IrModem]
  293. DisplayName = %Svc-Mp-IrModem-DispName%
  294. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  295. StartType = 3 ;SERVICE_DEMAND_START
  296. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  297. ServiceBinary = %12%\rasirda.sys
  298. Description = %Svc-Mp-IrModem-DispName%
  299. [Svc-Mp-L2tp]
  300. DisplayName = %Svc-Mp-L2tp-DispName%
  301. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  302. StartType = 3 ;SERVICE_DEMAND_START
  303. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  304. ServiceBinary = %12%\rasl2tp.sys
  305. Description = %Svc-Mp-L2tp-DispName%
  306. [Svc-Mp-Pptp]
  307. DisplayName = %Svc-Mp-Pptp-DispName%
  308. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  309. StartType = 3 ;SERVICE_DEMAND_START
  310. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  311. ServiceBinary = %12%\raspptp.sys
  312. Description = %Svc-Mp-Pptp-DispName%
  313. [Svc-Mp-Pti]
  314. DisplayName = %Svc-Mp-Pti-DispName%
  315. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  316. StartType = 3 ;SERVICE_DEMAND_START
  317. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  318. ServiceBinary = %12%\raspti.sys
  319. Description = %Svc-Mp-Pti-DispName%
  320. [Svc-Ptilink]
  321. DisplayName = %Svc-Ptilink-DispName%
  322. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  323. StartType = 3 ;SERVICE_DEMAND_START
  324. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  325. ServiceBinary = %12%\ptilink.sys
  326. Description = %Svc-Ptilink-DispName%
  327. [Svc-Wanarp]
  328. DisplayName = %Svc-Wanarp-DispName%
  329. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  330. StartType = 3 ;SERVICE_DEMAND_START
  331. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  332. ServiceBinary = %12%\wanarp.sys
  333. Description = %Svc-Wanarp-DispName%
  334. [Svc-Mp-Pppoe]
  335. DisplayName = %Svc-Mp-Pppoe-DispName%
  336. ServiceType = 1 ;SERVICE_KERNEL_DRIVER
  337. StartType = 3 ;SERVICE_DEMAND_START
  338. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  339. ServiceBinary = %12%\raspppoe.sys
  340. Description = %Svc-Mp-Pppoe-DispName%
  341. ;-------------------------------------------------------------------------
  342. ; [Event Log] sections.
  343. ;-------------------------------------------------------------------------
  344. [Evt-Pptp]
  345. AddReg = Evt-Pptp-AddReg
  346. [Evt-Pptp-AddReg]
  347. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  348. HKR,, TypesSupported, 0x00010001, 0x00000007
  349. [Evt-Rasmsg]
  350. AddReg = Evt-Rasmsg-AddReg
  351. [Evt-Rasmsg-AddReg]
  352. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\mprmsg.dll"
  353. HKR,, TypesSupported, 0x00010001, 0x0000001f
  354. [DestinationDirs]
  355. CopyFiles_AllUsers = 16419,Microsoft\Network\Connections\Pbk
  356. RasIrda.CopyFiles = 12
  357. [CopyFiles_AllUsers]
  358. sharedaccess.ini, shared~1.ini,, 0x10
  359. [RasIrda.CopyFiles]
  360. rasirda.sys