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.

78 lines
2.0 KiB

  1. ; -- upnphost.inf --
  2. ;
  3. ; Universal Plug & Play Device Host Support
  4. ;
  5. ; Copyright (c) 1993-1997, Microsoft Corporation
  6. [version]
  7. signature="$Windows NT$"
  8. Provider=Microsoft
  9. ;
  10. ; Temporary INF file to manually install device host
  11. ;
  12. [DefaultInstall]
  13. CopyFiles = CpyFiles_Sys
  14. Uninstall = upnphost.Remove
  15. StartServices = upnphost
  16. DependOnComponents = MS_TCPIP
  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, 0x10, upnphost_Service_Inst
  26. [DefaultInstall.Remove.Services]
  27. DelService = upnphost
  28. ;
  29. ; COM Object registration/Perf counters
  30. ;
  31. [upnphost.Register]
  32. 11,, upnphost.dll, 1
  33. 11,, upnpcont.exe,,,"/regserver"
  34. [UPNP.Unregister]
  35. 11,, upnphost.dll, 1
  36. 11,, upnpcont.exe,,,"/unregserver"
  37. [DestinationDirs]
  38. CpyFiles_Sys = 11 ;System32
  39. ;
  40. ; Copy Files sections
  41. ;
  42. [CpyFiles_Sys]
  43. upnphost.dll,,,2
  44. upnpcont.exe,,,2
  45. ;
  46. ; Service Install Sections
  47. ;
  48. [upnphost_Service_Inst]
  49. Description = "Provides support to host UPnP devices."
  50. DisplayName = "UPnP Device Host"
  51. ServiceType = 0x120 ;SERVICE_INTERACTIVE_PROCESS | SERVICE_WIN32_SHARE_PROCESS
  52. StartType = 2
  53. ErrorControl = 1
  54. ServiceBinary = "%%SystemRoot%%\System32\svchost.exe -k upnphost"
  55. AddReg = upnphost.AddReg
  56. Dependencies = SSDPSRV
  57. [upnphost.AddReg]
  58. HKR, Parameters, ServiceDll, 0x20000, "%%SystemRoot%%\System32\upnphost.dll"
  59. HKLM, "Software\Microsoft\Windows NT\CurrentVersion\SvcHost", "upnphost", 0x10000, "upnphost"
  60. HKLM, "Software\Microsoft\Windows NT\CurrentVersion\SvcHost\upnphost", "CoInitializeSecurityParam", 0x00010001, 0x00000001
  61. HKLM, "Software\Microsoft\Windows NT\CurrentVersion\SvcHost\upnphost", "AuthenticationCapabilities", 0x00010001, 0x00002000
  62. HKLM, "Software\Microsoft\UPnP Device Host\HTTP Server", "MaxConnections", 0x00010001, 0x00000050
  63. HKLM, "Software\Microsoft\UPnP Device Host\HTTP Server\VROOTS",,0x0010