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.

136 lines
3.7 KiB

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ; NT5 INSTALLATION INF for NDIS/KS TEST Driver
  4. ;
  5. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  6. ;----------------------------------------------------------------------------
  7. ;
  8. ; VERSION Section
  9. ;
  10. [version]
  11. Signature = "$Windows NT$"
  12. Class = Net
  13. ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
  14. Provider = %Microsoft%
  15. ;----------------------------------------------------------------------------
  16. ;
  17. ; MANUFACTURER Section
  18. ;
  19. [Manufacturer]
  20. %Msft% = Microsoft
  21. ;----------------------------------------------------------------------------
  22. ;
  23. ; MAIN Install section
  24. ;
  25. ;
  26. [Microsoft]
  27. ; DisplayName Section DeviceID
  28. ; ----------- ------- --------
  29. %test.DeviceDesc% = test.ndi, *TEST
  30. ;----------------------------------------------------------------------------
  31. ;
  32. ; NT Install Section
  33. ;
  34. [test.ndi.NT]
  35. Characteristics = 0x84
  36. BusType = 0
  37. AddReg = test.reg, Debug.reg
  38. CopyFiles = test.CopyFiles
  39. ;----------------------------------------------------------------------------
  40. ;
  41. ; TEST Registry Installation Section
  42. ;
  43. [test.reg]
  44. HKR, Ndi, Service, 0, "test"
  45. HKR, , DevLoader, 0, *ndis
  46. HKR, , DeviceVxDs, 0, NdisIP.sys
  47. HKR, NDIS, MajorNdisVersion, 1, 05
  48. HKR, NDIS, MinorNdisVersion, 1, 00
  49. HKR, NDIS, LogDriverName, 0, test
  50. ;
  51. HKR, Ndi\Interfaces, LowerRange, 0, "nolower"
  52. HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
  53. ;
  54. ;HKR, , MediaType, 0, 1
  55. ;-----------------------------------------------------------------------------
  56. ;
  57. ; TEST Registry Debug flags Installation Section
  58. ;
  59. [Debug.reg]
  60. HKR, Ndi\params\TestDebugFlag, ParamDesc, 0, "Debug Flag"
  61. HKR, Ndi\params\TestDebugFlag, type, 0, "hexinteger"
  62. HKR, Ndi\params\TestDebugFlag, default, 0, "00020001"
  63. ;-----------------------------------------------------------------------------
  64. ;
  65. ; TEST Service/Event_Log Installation Section
  66. ;
  67. [test.ndi.NT.Services]
  68. AddService = test, 2, test.Service, common.EventLog
  69. ;-----------------------------------------------------------------------------
  70. ;
  71. ; TEST Service Installation Section
  72. ;
  73. [test.Service]
  74. DisplayName = %testex.Service.DispName%
  75. ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
  76. StartType = 2 ;%SERVICE_DEMAND_START%
  77. ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
  78. ServiceBinary = %12%\NdisIP.sys
  79. LoadOrderGroup = NDIS
  80. AddReg = TextModeFlags.reg
  81. ;-----------------------------------------------------------------------------
  82. ;
  83. ; TEST EventLog Installation Section
  84. ;
  85. [common.EventLog]
  86. AddReg = common.AddEventLog.reg
  87. [common.AddEventLog.reg]
  88. HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  89. HKR, , TypesSupported, 0x00010001, 7
  90. [TextModeFlags.reg]
  91. HKR, , TextModeFlags, 0x00010001, 0x0001
  92. ;-----------------------------------------------------------------------------
  93. ;
  94. ; TEST Copyfiles Section
  95. ;
  96. [test.CopyFiles]
  97. NdisIP.sys,,,2
  98. ;-----------------------------------------------------------------------------
  99. ;
  100. ; DestinationDirs
  101. ;
  102. [DestinationDirs]
  103. test.CopyFiles = 12
  104. ;-----------------------------------------------------------------------------
  105. ;
  106. ; Strings Section
  107. ;
  108. [Strings]
  109. Microsoft = "Microsoft"
  110. Msft = "Microsoft"
  111. test.DeviceDesc = "BDA IPSINK/NDIS driver (Win2K)"
  112. testex.Service.DispName = "BDA IPSINK/NDIS driver (Win2K)"