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.

74 lines
2.3 KiB

  1. ;---[ NetDHCPR.INX ]----------------------------------------------------------
  2. ;
  3. ; DHCP Relay Agent
  4. ;
  5. ; Copyright (c) Microsoft Corporation. All rights reserved.
  6. ;
  7. [version]
  8. signature = "$Windows NT$"
  9. Class = NetService
  10. ClassGUID = {4D36E974-E325-11CE-BFC1-08002BE10318}
  11. Provider = %Msft%
  12. LayoutFile = layout.inf
  13. [Manufacturer]
  14. %Msft% = MSFT
  15. [MSFT]
  16. ; DisplayName Section DeviceID
  17. ; ----------- ------- --------
  18. %RelayAgent_Desc% = RelayAgent.Ndi, MS_RelayAgent
  19. ;
  20. ; Install Sections
  21. ;
  22. [RelayAgent.Ndi]
  23. AddReg = RelayAgent.Ndi.AddReg
  24. Characteristics = 0
  25. [RelayAgent.Ndi.Remove]
  26. DelReg = RelayAgent.DelReg
  27. [RelayAgent.Ndi.Services]
  28. AddService = RelayAgent,, RelayAgent_Service_Inst, RelayAgent_Service_Evt
  29. [RelayAgent.Ndi.Remove.Services]
  30. DelService = RelayAgent
  31. ; Service Install Sections
  32. ;
  33. [RelayAgent_Service_Inst]
  34. DisplayName = %RelayAgent_Desc%
  35. ServiceType = 0x20 ;SERVICE_WIN32_SHARE_PROCESS
  36. StartType = 2 ;SERVICE_AUTO_START
  37. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  38. ServiceBinary = %11%\router.exe
  39. StartName = LocalSystem
  40. AddReg = RelayAgent_Service.AddReg
  41. Description = %RelayAgent_Desc%
  42. [RelayAgent.Ndi.AddReg]
  43. ; NDI install registry keys
  44. HKR, "Ndi", "Service",, "RelayAgent"
  45. HKR, "Ndi", "HelpText",, "@netcfgx.dll,-50007"
  46. HKR, "Ndi\Interfaces", "UpperRange",, "winnet5"
  47. HKR, "Ndi\Interfaces", "LowerRange",, "tcpip"
  48. [RelayAgent_Service.AddReg]
  49. HKR, "Parameters", "HopsThreshold", 0x10001, 4
  50. HKR, "Parameters", "SecsThreshold", 0x10001, 4
  51. HKR, "Parameters", "LogMessages", 0x10001, 0
  52. HKR, "Parameters", "EnableTracing", 0x10001, 0
  53. HKR, "Parameters", "DHCPServers", 0x10000, ""
  54. [RelayAgent_Service_Evt]
  55. AddReg = RelayAgent_Service_Evt_AddReg
  56. [RelayAgent_Service_Evt_AddReg]
  57. HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\relay.dll"
  58. HKR,, TypesSupported, 0x00010001, 0x00000007