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.

94 lines
2.5 KiB

  1. ; -- NETLPD.INX --
  2. ;
  3. ; TCP/IP Print Services.
  4. ;
  5. ; Copyright (c) Microsoft Corporation. All rights reserved.
  6. [version]
  7. signature = "$Windows NT$"
  8. Provider = %Msft%
  9. LayoutFile = layout.inf
  10. [LPDSVC]
  11. CopyFiles = LPDSVC.CopyFiles.Sys
  12. Uninstall = LPDSVC.Remove
  13. StartServices = LPDSVC
  14. ; DependOnComponents = MS_TCPIP ; since TcpIp is always installed now
  15. [LPDSVC.Services]
  16. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  17. AddService = LPDSVC, 0x10, LPDSVC.AddService, LPDSVC.AddEventLog
  18. [LPDSVC.Remove.Services]
  19. DelService = LPDSVC
  20. ;
  21. ; Print monitor stuff
  22. ;
  23. [LPDSVC.PrintMonitor]
  24. AddMonitor = LPDSVC.AddPrintMonitor
  25. [LPDSVC.Remove.PrintMonitor]
  26. DelMonitor = LPDSVC.Remove.DelPrintMonitor
  27. [LPDSVC.AddPrintMonitor]
  28. PrintMonitorName = "LPR Port"
  29. PrintMonitorDLL = "lprmon.dll"
  30. [LPDSVC.Remove.DelPrintMonitor]
  31. PrintMonitorName = "LPR Port"
  32. [LPDSVC.AddService]
  33. DisplayName = %LPDSVC_Display%
  34. ServiceType = %SERVICE_WIN32_SHARE_PROCESS%
  35. @s:StartType = %SERVICE_AUTO_START%
  36. @w:StartType = %SERVICE_DEMAND_START%
  37. ErrorControl = %SERVICE_ERROR_NORMAL%
  38. Dependencies = Tcpip, Spooler
  39. ServiceBinary = %11%\tcpsvcs.exe
  40. StartName = LocalSystem
  41. AddReg = LPDSVC.AddReg
  42. Description = %LPDSVC_Desc%
  43. [LPDSVC.AddReg]
  44. HKR, "Parameters", "AllowJobRemoval", 0x10003, 1
  45. HKR, "Parameters", "AllowPrinterResume", 0x10003, 1
  46. HKR, "Parameters", "MaxConcurrentUsers", 0x10003, 100
  47. HKLM, "System\CurrentControlSet\Services\EventLog\Application\LPR Print Monitor", "EventMessageFile", %REG_EXPAND_SZ%, "%SystemRoot%\System32\lprmon.dll"
  48. [LPDSVC.AddEventLog]
  49. AddReg = LPDSVC.AddEventLog.AddReg
  50. [LPDSVC.AddEventLog.AddReg]
  51. HKR, , "EventMessageFile", %REG_EXPAND_SZ%, "%%SystemRoot%%\System32\lpdsvc.dll"
  52. HKR, , "TypesSupported", %REG_DWORD%, 0x00000007
  53. [LPDSVC.Upgrade]
  54. CopyFiles = LPDSVC.CopyFiles.Sys
  55. [DestinationDirs]
  56. LPDSVC.CopyFiles.Sys = 11
  57. [LPDSVC.CopyFiles.Sys]
  58. lpdsvc.dll, , , 2
  59. lprmon.dll, , , 0x00001002
  60. [LPDSVC.CopyFiles.Sys.Security]
  61. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"