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.

62 lines
1.9 KiB

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;; NETTUN.INF -- Tun Miniport Adapter
  3. ;;
  4. ;; Copyright (c) 2001, Microsoft Corporation.
  5. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  6. [Version]
  7. Signature = "$Windows NT$"
  8. Class = Net
  9. ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
  10. Provider = %Msft%
  11. LayoutFile = layout.inf
  12. [Manufacturer]
  13. %Msft% = Microsoft
  14. [Microsoft]
  15. ;;
  16. ;; DisplayName = InstallSection, DeviceID
  17. ;;
  18. %TUNMP.DisplayName% = TUNMP.ndi, *TUNMP
  19. [TUNMP.ndi]
  20. AddReg = TUNMP.ndi.reg, TUNMP.ndi.params
  21. BusType = 1
  22. Characteristics = 0x29 ; NCF_VIRTUAL, NCF_HIDDEN, NCF_NOT_USER_REMOVABLE
  23. [TUNMP.ndi.reg]
  24. HKR, Ndi, Service, 0, "tunmp"
  25. HKR, Ndi, HelpText, 0, %TUNMP.HelpText%
  26. HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
  27. HKR, Ndi\Interfaces, UpperRange, 0, "ndis5_ip6"
  28. [TUNMP.ndi.params]
  29. HKR, Ndi\Params\NetworkAddress, ParamDesc, 0, %NetworkAddress%
  30. HKR, Ndi\Params\NetworkAddress, Default, 0, ""
  31. HKR, Ndi\Params\NetworkAddress, Type, 0, "text"
  32. [TUNMP.ndi.Services]
  33. AddService = tunmp, 2, TUNMP.Service, TUNMP.AddEventLog
  34. [TUNMP.Service]
  35. DisplayName = %TUNMP.Service.DisplayName%
  36. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  37. StartType = 3 ; SERVICE_DEMAND_START
  38. ErrorControl = 1 ; NORMAL
  39. ServiceBinary = %12%\tunmp.sys
  40. LoadOrderGroup = NDIS
  41. [TUNMP.AddEventLog]
  42. AddReg = TUNMP.AddEventLog.Reg
  43. [TUNMP.AddEventLog.Reg]
  44. HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  45. HKR, , TypesSupported, 0x00010001, 7
  46. [Strings]
  47. Msft = "Microsoft"
  48. NetworkAddress = "Network Address"
  49. TUNMP.DisplayName = "Microsoft Tun Miniport Adapter"
  50. TUNMP.HelpText = "Microsoft Tun Miniport Adapter Driver"
  51. TUNMP.Service.DisplayName = "Microsoft Tun Miniport Adapter Driver"