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.

54 lines
1.7 KiB

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;; NETTUN.INF -- Tun Miniport Adapter
  3. ;;
  4. ;; Copyright (c) Microsoft Corporation. All rights reserved.
  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. Characteristics = 0x29 ; NCF_VIRTUAL, NCF_HIDDEN, NCF_NOT_USER_REMOVABLE
  22. [TUNMP.ndi.reg]
  23. HKR, Ndi, Service, 0, "tunmp"
  24. HKR, Ndi, HelpText, 0, %TUNMP.HelpText%
  25. HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
  26. HKR, Ndi\Interfaces, UpperRange, 0, "ndis5_ip6"
  27. [TUNMP.ndi.params]
  28. HKR, Ndi\Params\NetworkAddress, ParamDesc, 0, %NetworkAddress%
  29. HKR, Ndi\Params\NetworkAddress, Default, 0, ""
  30. HKR, Ndi\Params\NetworkAddress, Type, 0, "text"
  31. [TUNMP.ndi.Services]
  32. AddService = tunmp, 2, TUNMP.Service, TUNMP.AddEventLog
  33. [TUNMP.Service]
  34. DisplayName = %TUNMP.Service.DisplayName%
  35. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  36. StartType = 3 ; SERVICE_DEMAND_START
  37. ErrorControl = 1 ; NORMAL
  38. ServiceBinary = %12%\tunmp.sys
  39. LoadOrderGroup = NDIS
  40. [TUNMP.AddEventLog]
  41. AddReg = TUNMP.AddEventLog.Reg
  42. [TUNMP.AddEventLog.Reg]
  43. HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  44. HKR, , TypesSupported, 0x00010001, 7