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.

158 lines
4.7 KiB

  1. ; Template INF for a USB Remote NDIS Device
  2. [Version]
  3. Signature = "$CHICAGO$"
  4. Class = Net
  5. ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
  6. Provider = %Acme%
  7. Compatible = 1
  8. MillenniumPreferred = .ME
  9. DriverVer = mm/dd/yyyy,x.y.v.z
  10. [Manufacturer]
  11. %Acme% = AcmeDevices
  12. [AcmeDevices]
  13. %AcmeDevice% = RNDIS, USB\VID_vvvv&PID_pppp
  14. [ControlFlags]
  15. ExcludeFromSelect=*
  16. ; Win98 specific sections ----------------------------------------
  17. [RNDIS]
  18. DeviceID = usb8023
  19. MaxInstance = 512
  20. DriverVer = mm/dd/yyyy,x.y.v.z
  21. AddReg = RNDIS_AddReg_98, RNDIS_AddReg_Common
  22. [RNDIS_AddReg_98]
  23. HKR, , DevLoader, 0, *ndis
  24. HKR, , DeviceVxDs, 0, usb8023.sys
  25. HKR, NDIS, LogDriverName, 0, "usb8023"
  26. HKR, NDIS, MajorNdisVersion, 1, 5
  27. HKR, NDIS, MinorNdisVersion, 1, 0
  28. HKR, Ndi\Interfaces, DefUpper, 0, "ndis3,ndis4,ndis5"
  29. HKR, Ndi\Interfaces, DefLower, 0, "ethernet"
  30. HKR, Ndi\Interfaces, UpperRange, 0, "ndis3,ndis4,ndis5"
  31. HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
  32. HKR, Ndi\Install, ndis3, 0, "RNDIS_Install_98"
  33. HKR, Ndi\Install, ndis4, 0, "RNDIS_Install_98"
  34. HKR, Ndi\Install, ndis5, 0, "RNDIS_Install_98"
  35. HKR, Ndi, DeviceId, 0, "USB\VID_vvvv&PID_pppp"
  36. [RNDIS_Install_98]
  37. CopyFiles=RNDIS_CopyFiles_98
  38. [RNDIS_CopyFiles_98]
  39. usb8023.sys, usb8023w.sys, , 0
  40. rndismp.sys, rndismpw.sys, , 0
  41. ; WinMe specific sections ----------------------------------------
  42. [RNDIS.ME]
  43. DeviceID = usb8023
  44. MaxInstance = 512
  45. DriverVer = mm/dd/yyyy,x.y.v.z
  46. AddReg = RNDIS_AddReg_ME, RNDIS_AddReg_Common
  47. [RNDIS_AddReg_ME]
  48. HKR, , DevLoader, 0, *ndis
  49. HKR, , DeviceVxDs, 0, usb8023.sys
  50. HKR, NDIS, LogDriverName, 0, "usb8023"
  51. HKR, NDIS, MajorNdisVersion, 1, 5
  52. HKR, NDIS, MinorNdisVersion, 1, 0
  53. HKR, Ndi\Interfaces, DefUpper, 0, "ndis3,ndis4,ndis5"
  54. HKR, Ndi\Interfaces, DefLower, 0, "ethernet"
  55. HKR, Ndi\Interfaces, UpperRange, 0, "ndis3,ndis4,ndis5"
  56. HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
  57. HKR, Ndi\Install, ndis3, 0, "RNDIS_Install_ME"
  58. HKR, Ndi\Install, ndis4, 0, "RNDIS_Install_ME"
  59. HKR, Ndi\Install, ndis5, 0, "RNDIS_Install_ME"
  60. HKR, Ndi, DeviceId, 0, "USB\VID_vvvv&PID_pppp"
  61. [RNDIS_Install_ME]
  62. CopyFiles=RNDIS_CopyFiles_ME
  63. [RNDIS_CopyFiles_ME]
  64. usb8023.sys, usb8023m.sys, , 0
  65. rndismp.sys, rndismpm.sys, , 0
  66. ; Win2000 specific sections ----------------------------------------
  67. [RNDIS.ntx86]
  68. Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
  69. BusType = 15
  70. DriverVer = mm/dd/yyyy,x.y.v.z
  71. AddReg = RNDIS_AddReg_ntx86, RNDIS_AddReg_Common
  72. CopyFiles = RNDIS_CopyFiles_ntx86
  73. [RNDIS.ntx86.Services]
  74. AddService = USB_RNDIS, 2, RNDIS_ServiceInst, RNDIS_EventLog
  75. [RNDIS_AddReg_ntx86]
  76. HKR, Ndi, Service, 0, "USB_RNDIS"
  77. HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
  78. HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
  79. [RNDIS_ServiceInst]
  80. DisplayName = %ServiceDisplayName%
  81. ServiceType = 1
  82. StartType = 3
  83. ErrorControl = 1
  84. ServiceBinary = %12%\usb8023.sys
  85. LoadOrderGroup = NDIS
  86. AddReg = RNDIS_WMI_AddReg
  87. [RNDIS_WMI_AddReg]
  88. HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismp.sys"
  89. [RNDIS_EventLog]
  90. AddReg = RNDIS_EventLog_AddReg
  91. [RNDIS_EventLog_AddReg]
  92. HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  93. HKR, , TypesSupported, 0x00010001, 7
  94. [RNDIS_CopyFiles_ntx86]
  95. usb8023.sys, usb8023.sys, , 0
  96. rndismp.sys, rndismp.sys, , 0
  97. ; Common (Win98 & WinMe & Win2000 Sections) ------------------------
  98. [RNDIS_AddReg_Common]
  99. HKR, NDI\params\NetworkAddress, ParamDesc, 0, %NetworkAddress%
  100. HKR, NDI\params\NetworkAddress, type, 0, "edit"
  101. HKR, NDI\params\NetworkAddress, LimitText, 0, "12"
  102. HKR, NDI\params\NetworkAddress, UpperCase, 0, "1"
  103. HKR, NDI\params\NetworkAddress, default, 0, " "
  104. HKR, NDI\params\NetworkAddress, optional, 0, "1"
  105. [SourceDisksNames]
  106. 1=%SourceDisk%,,1
  107. [SourceDisksFiles]
  108. usb8023m.sys=1
  109. rndismpm.sys=1
  110. usb8023w.sys=1
  111. rndismpw.sys=1
  112. usb8023.sys=1
  113. rndismp.sys=1
  114. [DestinationDirs]
  115. RNDIS_CopyFiles_98 = 10, system32/drivers
  116. RNDIS_CopyFiles_ME = 10, system32/drivers
  117. RNDIS_CopyFiles_ntx86 = 12
  118. [Strings]
  119. ServiceDisplayName = "USB Remote NDIS Network Device Driver"
  120. NetworkAddress = "Network Address"
  121. Acme = "Acme Corporation"
  122. AcmeDevice = "Acme USB Remote NDIS Network Device"
  123. SourceDisk = "Acme USB Network Driver Install Disk"