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.

77 lines
3.3 KiB

  1. ; -- NETTPSMP.INX --
  2. ;
  3. ; Simple TCP/IP Services
  4. ;
  5. ; Copyright (c) Microsoft Corporation. All rights reserved.
  6. [Version]
  7. Signature = "$Windows NT$"
  8. Provider = %Msft%
  9. LayoutFile = layout.inf
  10. [SimpTcp]
  11. CopyFiles = SimpTcp.CopyFiles.Sys, SimpTcp.CopyFiles.DrvEtc
  12. Uninstall = SimpTcp.Remove
  13. StartServices = SimpTcp
  14. DependOnComponents = MS_TCPIP
  15. [SimpTcp.Services]
  16. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  17. AddService = SimpTcp, 0x10, SimpTcp.AddService, NetEventLog
  18. [SimpTcp.Remove.Services]
  19. DelService = SimpTcp
  20. [SimpTcp.AddService]
  21. DisplayName = %SimpTcp_Name%
  22. ServiceType = %SERVICE_WIN32_SHARE_PROCESS%
  23. StartType = %SERVICE_AUTO_START%
  24. ErrorControl = %SERVICE_ERROR_NORMAL%
  25. Dependencies = AFD
  26. ServiceBinary = %11%\tcpsvcs.exe
  27. StartName = LocalSystem
  28. AddReg = SimpTcp.AddReg
  29. Description = %SimpTcp_Desc%
  30. [SimpTcp.AddReg]
  31. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "EnableTcpEcho", 0x10003, 1
  32. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "EnableUdpEcho", 0x10003, 1
  33. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "EnableTcpDiscard", 0x10003, 1
  34. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "EnableUdpDiscard", 0x10003, 1
  35. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "EnableTcpChargen", 0x10003, 1
  36. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "EnableUdpChargen", 0x10003, 1
  37. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "EnableTcpDaytime", 0x10003, 1
  38. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "EnableUdpDaytime", 0x10003, 1
  39. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "EnableTcpQotd", 0x10003, 1
  40. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "EnableUdpQotd", 0x10003, 1
  41. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "QotdFileName", 0x20002, "%SystemRoot%\system32\drivers\etc\quotes"
  42. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "MaxTcpClients", 0x10003, 16
  43. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "MaxIdleTicks", 0x10003, 600000
  44. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "SelectTimeout", 0x10003, 300
  45. HKLM, "System\CurrentControlSet\Services\SimpTcp\Parameters", "IoBufferSize", 0x10003, 8192
  46. [SimpTcp.Upgrade]
  47. CopyFiles = SimpTcp.CopyFiles.Sys
  48. ;CopyFiles = SimpTcp.CopyFiles.DrvEtc
  49. [DestinationDirs]
  50. SimpTcp.CopyFiles.Sys = 11 ; System32
  51. SimpTcp.CopyFiles.DrvEtc = 12, "etc" ; System32\Drivers\Etc
  52. [SimpTcp.CopyFiles.Sys]
  53. simptcp.dll, , , 2
  54. [SimpTcp.CopyFiles.Sys.Security]
  55. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  56. [SimpTcp.CopyFiles.DrvEtc]
  57. quotes, , , 2
  58. [NetEventLog]
  59. AddReg = NetEventLog.AddReg
  60. [NetEventLog.AddReg]
  61. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\simptcp.dll"
  62. HKR,,TypesSupported,0x00010001,7