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.

143 lines
3.4 KiB

  1. ;
  2. ; Modem Sharing Server
  3. ;
  4. ; Copyright (c) 1993-1997, Microsoft Corporation
  5. ;
  6. [version]
  7. signature="$Windows NT$"
  8. ClassGUID={4D36E974-E325-11CE-BFC1-08002BE10318}
  9. Provider=%Msft%
  10. LayoutFile=layout.inf
  11. ;
  12. ; Manufacturer section
  13. ;
  14. [Manufacturer]
  15. %Msft%=MSFT
  16. ;
  17. ; Device section
  18. ;
  19. [MSFT]
  20. %MdmShrSrv_Desc% = MdmShrSrv.ndi, MS_MDMSHRSRV
  21. ;
  22. ; Install Sections
  23. ;
  24. [MdmShrSrv.ndi]
  25. AddReg = MdmShrSrv.ndi.AddReg
  26. Characteristics = 0x0000 ; NCF_REMOVABLE
  27. ;CopyFiles = MdmShrSrv_CopyFiles, MdmShrDrv_CopyFiles
  28. [MdmShrSrv.ndi.Remove]
  29. OptionDesc = %MdmShrSrv_Desc%
  30. DelFiles = MdmShrSrv_CopyFiles, MdmShrDrv_CopyFiles
  31. [MdmShrSrv.Install]
  32. OptionDesc = %MdmShrSrv_Desc%
  33. [MdmShrSrv.Install.Remove]
  34. OptionDesc = %MdmShrSrv_Desc%
  35. DelFiles = MdmShrSrv_CopyFiles, MdmShrDrv_CopyFiles
  36. ;
  37. ; Copy File Sections
  38. ;
  39. [MdmShrSrv_CopyFiles]
  40. netmodem.exe
  41. modemshr.exe
  42. modemshr.cpl
  43. [MdmShrDrv_CopyFiles]
  44. modemshr.sys
  45. [DestinationDirs]
  46. MdmShrSrv_CopyFiles = 11
  47. MdmShrDrv_CopyFiles = 12
  48. ;
  49. ; Services Sections
  50. ;
  51. [MdmShrSrv.ndi.Services]
  52. AddService = ModemSharingServer,, MdmShrSrv_Service_Inst
  53. AddService = ModemSharingDriver,, MdmShrDrv_Service_Inst
  54. ;
  55. ; Remove stuff
  56. ;
  57. [MdmShrSrv.ndi.Remove.Services]
  58. DelService = ModemSharingServer
  59. DelService = ModemSharingDriver
  60. ;
  61. ; Service Install Sections
  62. ;
  63. [MdmShrSrv_Service_Inst]
  64. DisplayName = %MdmShrSrv_Desc%
  65. ServiceType = 0x10 ;SERVICE_WIN32_OWN_PROCESS
  66. StartType = 2 ;SERVICE_AUTO_START
  67. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  68. ServiceBinary = %11%\modemshr.exe
  69. ;StartName = LocalSystem
  70. AddReg = ModemSharing.Server.AddReg
  71. [MdmShrDrv_Service_Inst]
  72. DisplayName = %MdmShrDrv_Desc%
  73. ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
  74. StartType = 3 ;SERVICE_DEMAND_START
  75. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  76. ServiceBinary = %12%\modemshr.sys
  77. LoadOrderGroup = Network
  78. AddReg = ModemSharing.Driver.AddReg
  79. ;
  80. ; Add Registry sections
  81. ;
  82. [MdmShrSrv.ndi.AddReg]
  83. HKR,"Ndi", "Service",, "ModemSharingServer"
  84. HKR,"Ndi", "HelpText",, "%ModemSharing_Help%"
  85. HKR,"Ndi\Install",,, "MSMdmShr.Install"
  86. HKR,"Ndi\Remove",,, "MSMdmShr.Remove"
  87. HKR,"Ndi\Interfaces", "UpperRange",, "winnet5"
  88. HKR,"Ndi\Interfaces", "LowerRange",, "netbios,ipx"
  89. [ModemSharing.Server.AddReg]
  90. HKR,Parameters,Pools,%FLG_ADDREG_KEYONLY%
  91. HKR,, DependOnService, %REG_MULTI_SZ%, "ModemSharingDriver", "TapiSrv"
  92. HKR,Parameters, DebugLevel, %REG_DWORD%, 15
  93. HKR,Parameters, BreakOnEntry, %REG_DWORD%, 0
  94. [ModemSharing.Driver.AddReg]
  95. [Strings]
  96. Msft = "Microsoft"
  97. MdmShrSrv_Desc = "Modem Sharing Services"
  98. MdmShrDrv_Desc = "Modem Sharing Driver"
  99. ModemSharing_Help = "Shares communication resources with other computers"
  100. FLG_ADDREG_KEYONLY = 0x0010
  101. REG_MULTI_SZ = 0x10000
  102. REG_EXPAND_SZ = 0x20000
  103. REG_DWORD = 0x10001
  104. SERVICE_DEMAND_START = 3
  105. SERVICE_AUTO_START = 2
  106. SERVICE_WIN32_SHARE_PROCESS = 32
  107. SERVICE_FILE_SYSTEM_DRIVER = 2
  108. SERVICE_WIN32_OWN_PROCESS = 16