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.

114 lines
2.8 KiB

  1. ;
  2. ; Client for modem sharing - NT5.
  3. ;
  4. ; Copyright (c) 1993-1998, Microsoft Corporation
  5. [version]
  6. signature="$Windows NT$"
  7. ; Net client ID
  8. ClassGUID={4D36E974-E325-11CE-BFC1-08002BE10318}
  9. Provider=%Msft%
  10. LayoutFile=layout.inf
  11. [Manufacturer]
  12. %Msft%=MSFT
  13. [MSFT]
  14. %MdmShrCli_Desc% = MdmShrCli.ndi, MS_SERRDR
  15. ;
  16. ; Install Sections
  17. ;
  18. [MdmShrCli.ndi]
  19. AddReg = MdmShrCli.ndi.AddReg
  20. Characteristics = 0x0000 ; NCF_REMOVABLE
  21. ;CopyFiles = MdmShrCli_CopyFiles, SerRdr_CopyFiles
  22. [MdmShrCli.Install]
  23. OptionDesc = %MdmShrCli_Desc%
  24. [MdmShrCli.ndi.Remove]
  25. OptionDesc = %MdmShrCli_Desc%
  26. ;DelFiles = MdmShrCli_CopyFiles, SerRdr_CopyFiles
  27. ;
  28. ; Copy File Sections
  29. ;
  30. [MdmShrCli_CopyFiles]
  31. netmodem.exe
  32. serrdr.dll
  33. [SerRdr_CopyFiles]
  34. serrdr.sys
  35. [DestinationDirs]
  36. MdmShrCli_CopyFiles = 11
  37. SerRdr_CopyFiles = 12
  38. ;
  39. ; Services Sections
  40. ;
  41. [MdmShrCli.ndi.Services]
  42. AddService = SerRdr,, SerRdr_Service_Inst
  43. ;
  44. ; Remove stuff
  45. ;
  46. [MdmShrCli.ndi.Remove.Services]
  47. DelService = SerRdr
  48. ;
  49. ; Service Install Sections
  50. ;
  51. [SerRdr_Service_Inst]
  52. DisplayName = %SerRdr_Desc%
  53. ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
  54. StartType = 2 ;SERVICE_AUTO_START
  55. ;StartType = 3 ;SERVICE_DEMAND_START
  56. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  57. ServiceBinary = %12%\serrdr.sys
  58. LoadOrderGroup = Network
  59. AddReg = MdmShrCli.Srv.AddReg
  60. ;
  61. ; Add Registry section
  62. ;
  63. [MdmShrCli.ndi.AddReg]
  64. ;
  65. ; Basic install registry keys
  66. ;
  67. HKR,"Ndi", "Service",, "SerRdr"
  68. HKR,"Ndi", "HelpText",, "%MdmShrCli_Help%"
  69. HKR,"Ndi\Install", ,, "MdmShrCli.Install"
  70. HKR,"Ndi\Remove", ,, "MdmShrCli.Remove"
  71. HKR,"Ndi\Interfaces", "UpperRange",, "winnet5"
  72. HKR,"Ndi\Interfaces", "LowerRange",, "netbios,ipx"
  73. [MdmShrCli.Srv.AddReg]
  74. HKR,, "TextModeFlags", %REG_DWORD%, 1
  75. HKR, "Parameters", "BreakOnEntry", %REG_DWORD%, 0
  76. HKR, "Parameters", "DebugLevel", %REG_DWORD%, 15
  77. HKR, "Parameters", "MemDebugLevel", %REG_DWORD%, 4294770687
  78. HKR, "Parameters", "NetTimeout", %REG_DWORD%, 20000
  79. ;HKR, "Parameters", "Ports", %FLG_ADDREG_KEYONLY%
  80. HKR, "Parameters\Ports", ,
  81. [Strings]
  82. Msft = "Microsoft"
  83. MdmShrCli_Desc = "Modem Sharing Client"
  84. MdmShrCli_Help = "Allows to connect to a modem sharing server."
  85. SerRdr_Desc = "SerRdr"
  86. FLG_ADDREG_KEYONLY = 0x0010
  87. REG_DWORD = 0x00010001