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.

109 lines
2.8 KiB

  1. ; -- upnphost.inf --
  2. ;
  3. ; Universal Plug & Play Device Host Support
  4. ;
  5. ; Copyright (c) Microsoft Corporation. All rights reserved.
  6. [version]
  7. signature="$Windows NT$"
  8. LayoutFile=layout.inf
  9. Provider=%Msft%
  10. ;
  11. ; Installed by hivesys.inx
  12. ;
  13. [DefaultInstall]
  14. CopyFiles = CpyFiles_Sys
  15. Uninstall = upnphost.Remove
  16. StartServices = SSDPSRV
  17. RegisterDlls = upnphost.Register
  18. [upnphost.Remove]
  19. UnregisterDlls = upnphost.Unregister
  20. ;
  21. ; Services Sections
  22. ;
  23. [DefaultInstall.Services]
  24. ; 0x10 = SPSVCINST_NOCLOBBER_STARTTYPE
  25. AddService = upnphost, 0x410, upnphost_Service_Inst
  26. AddService = SSDPSRV, 0x410, UPNP_Service_Inst, UPNP_Evt
  27. [DefaultInstall.Remove.Services]
  28. DelService = upnphost
  29. DelService = SSDPSRV
  30. ;
  31. ; COM Object registration/Perf counters
  32. ;
  33. [upnphost.Register]
  34. 11,, upnp.dll, 1
  35. 11,, upnphost.dll, 1
  36. 11,, upnpcont.exe,,,"/regserver"
  37. [UPNP.Unregister]
  38. 11,, upnp.dll, 1
  39. 11,, upnphost.dll, 1
  40. 11,, upnpcont.exe,,,"/unregserver"
  41. [DestinationDirs]
  42. CpyFiles_Sys = 11 ;System32
  43. ;
  44. ; Copy Files sections
  45. ;
  46. [CpyFiles_Sys]
  47. ssdpsrv.dll,,,2
  48. ssdpapi.dll,,,2
  49. upnp.dll,,,2
  50. upnphost.dll,,,2
  51. upnpcont.exe,,,2
  52. udhisapi.dll,,,2
  53. [CpyFiles_Sys.Security]
  54. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  55. ;
  56. ; Service Install Sections
  57. ;
  58. [upnphost_Service_Inst]
  59. Description = %UPNPHOST_Desc%
  60. DisplayName = %UPNPHOST_Display%
  61. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  62. StartType = 3
  63. ErrorControl = 1
  64. StartName = "NT AUTHORITY"\LocalService
  65. ServiceBinary = %11%\svchost.exe -k LocalService
  66. AddReg = upnphost.AddReg.Secure, upnphost.AddReg
  67. Dependencies = SSDPSRV
  68. Security = "D:(A;;GA;;;SY)(A;;GA;;;BA)(A;;GRGX;;;PU)(A;;GA;;;SO)(A;;GRRP;;;AU)(A;;CCDCLCSWLOCRRC;;;LS)"
  69. [upnphost.AddReg]
  70. HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\upnphost.dll"
  71. HKLM, "Software\Microsoft\UPnP Device Host\HTTP Server", "MaxConnections", 0x00010001, 0x00000050
  72. HKLM, "Software\Microsoft\UPnP Device Host\HTTP Server\VROOTS",,0x0010
  73. [upnphost.AddReg.Secure]
  74. HKLM, "Software\Microsoft\UPnP Device Host", , 0x10 ;FLG_ADDREG_KEYONLY
  75. [upnphost.AddReg.Secure.Security]
  76. "D:PAR(A;CI;KA;;;BA)(A;CIIO;KA;;;CO)(A;CI;KA;;;LS)(A;CI;KA;;;SY)(A;CI;KR;;;BU)"
  77. [UPNP_Service_Inst]
  78. Description = %UPNP_Desc%
  79. DisplayName = %UPNP_Display%
  80. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  81. StartType = 3
  82. StartName = "NT AUTHORITY"\LocalService
  83. ErrorControl = 1
  84. ServiceBinary = %11%\svchost.exe -k LocalService
  85. Security = "D:(A;;GA;;;SY)(A;;GA;;;BA)(A;;GRGX;;;PU)(A;;GA;;;SO)(A;;GRRP;;;AU)(A;;RPWPDTRC;;;LS)"
  86. AddReg = UPNP.AddReg
  87. [UPNP.AddReg]
  88. HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\ssdpsrv.dll"