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.

186 lines
5.8 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. CatalogFile = Acme.cat
  11. [Manufacturer]
  12. %Acme% = AcmeDevices,NT.5.1
  13. [AcmeDevices]
  14. %AcmeDevice% = RNDIS, USB\VID_vvvv&PID_pppp
  15. [AcmeDevices.NT.5.1]
  16. %AcmeDevice% = RNDIS.NT.5.1, USB\VID_vvvv&PID_pppp
  17. [ControlFlags]
  18. ExcludeFromSelect=*
  19. ; Windows 98, Windows 98 Second Edition specific sections --------
  20. [RNDIS]
  21. DeviceID = usb8023
  22. MaxInstance = 512
  23. DriverVer = mm/dd/yyyy,x.y.v.z
  24. AddReg = RNDIS_AddReg_98, RNDIS_AddReg_Common
  25. [RNDIS_AddReg_98]
  26. HKR, , DevLoader, 0, *ndis
  27. HKR, , DeviceVxDs, 0, usb8023.sys
  28. HKR, NDIS, LogDriverName, 0, "usb8023"
  29. HKR, NDIS, MajorNdisVersion, 1, 5
  30. HKR, NDIS, MinorNdisVersion, 1, 0
  31. HKR, Ndi\Interfaces, DefUpper, 0, "ndis3,ndis4,ndis5"
  32. HKR, Ndi\Interfaces, DefLower, 0, "ethernet"
  33. HKR, Ndi\Interfaces, UpperRange, 0, "ndis3,ndis4,ndis5"
  34. HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
  35. HKR, Ndi\Install, ndis3, 0, "RNDIS_Install_98"
  36. HKR, Ndi\Install, ndis4, 0, "RNDIS_Install_98"
  37. HKR, Ndi\Install, ndis5, 0, "RNDIS_Install_98"
  38. HKR, Ndi, DeviceId, 0, "USB\VID_vvvv&PID_pppp"
  39. [RNDIS_Install_98]
  40. CopyFiles=RNDIS_CopyFiles_98
  41. [RNDIS_CopyFiles_98]
  42. usb8023.sys, usb8023w.sys, , 0
  43. rndismp.sys, rndismpw.sys, , 0
  44. ; Windows Millennium Edition specific sections --------------------
  45. [RNDIS.ME]
  46. DeviceID = usb8023
  47. MaxInstance = 512
  48. DriverVer = mm/dd/yyyy,x.y.v.z
  49. AddReg = RNDIS_AddReg_ME, RNDIS_AddReg_Common
  50. Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
  51. BusType = 15
  52. [RNDIS_AddReg_ME]
  53. HKR, , DevLoader, 0, *ndis
  54. HKR, , DeviceVxDs, 0, usb8023.sys
  55. HKR, NDIS, LogDriverName, 0, "usb8023"
  56. HKR, NDIS, MajorNdisVersion, 1, 5
  57. HKR, NDIS, MinorNdisVersion, 1, 0
  58. HKR, Ndi\Interfaces, DefUpper, 0, "ndis3,ndis4,ndis5"
  59. HKR, Ndi\Interfaces, DefLower, 0, "ethernet"
  60. HKR, Ndi\Interfaces, UpperRange, 0, "ndis3,ndis4,ndis5"
  61. HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
  62. HKR, Ndi\Install, ndis3, 0, "RNDIS_Install_ME"
  63. HKR, Ndi\Install, ndis4, 0, "RNDIS_Install_ME"
  64. HKR, Ndi\Install, ndis5, 0, "RNDIS_Install_ME"
  65. HKR, Ndi, DeviceId, 0, "USB\VID_vvvv&PID_pppp"
  66. [RNDIS_Install_ME]
  67. CopyFiles=RNDIS_CopyFiles_ME
  68. [RNDIS_CopyFiles_ME]
  69. usb8023.sys, usb8023m.sys, , 0
  70. rndismp.sys, rndismpm.sys, , 0
  71. ; Windows 2000 specific sections ---------------------------------
  72. [RNDIS.NT]
  73. Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
  74. BusType = 15
  75. DriverVer = mm/dd/yyyy,x.y.v.z
  76. AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_Common
  77. CopyFiles = RNDIS_CopyFiles_NT
  78. [RNDIS.NT.Services]
  79. AddService = USB_RNDIS, 2, RNDIS_ServiceInst_NT, RNDIS_EventLog
  80. [RNDIS_CopyFiles_NT]
  81. ; no rename of files on Windows 2000, use the 'k' names as is
  82. usb8023k.sys, , , 0
  83. rndismpk.sys, , , 0
  84. [RNDIS_ServiceInst_NT]
  85. DisplayName = %ServiceDisplayName%
  86. ServiceType = 1
  87. StartType = 3
  88. ErrorControl = 1
  89. ServiceBinary = %12%\usb8023k.sys
  90. LoadOrderGroup = NDIS
  91. AddReg = RNDIS_WMI_AddReg_NT
  92. [RNDIS_WMI_AddReg_NT]
  93. HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpk.sys"
  94. ; Windows XP specific sections -----------------------------------
  95. [RNDIS.NT.5.1]
  96. Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
  97. BusType = 15
  98. DriverVer = mm/dd/yyyy,x.y.v.z
  99. AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_Common
  100. ; no copyfiles - the files are already in place
  101. [RNDIS.NT.5.1.Services]
  102. AddService = USB_RNDIS, 2, RNDIS_ServiceInst_51, RNDIS_EventLog
  103. [RNDIS_ServiceInst_51]
  104. DisplayName = %ServiceDisplayName%
  105. ServiceType = 1
  106. StartType = 3
  107. ErrorControl = 1
  108. ServiceBinary = %12%\usb8023.sys
  109. LoadOrderGroup = NDIS
  110. AddReg = RNDIS_WMI_AddReg_51
  111. [RNDIS_WMI_AddReg_51]
  112. HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismp.sys"
  113. ; Windows 2000 and Windows XP common sections --------------------
  114. [RNDIS_AddReg_NT]
  115. HKR, Ndi, Service, 0, "USB_RNDIS"
  116. HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
  117. HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
  118. [RNDIS_EventLog]
  119. AddReg = RNDIS_EventLog_AddReg
  120. [RNDIS_EventLog_AddReg]
  121. HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  122. HKR, , TypesSupported, 0x00010001, 7
  123. ; Common Sections -------------------------------------------------
  124. [RNDIS_AddReg_Common]
  125. HKR, NDI\params\NetworkAddress, ParamDesc, 0, %NetworkAddress%
  126. HKR, NDI\params\NetworkAddress, type, 0, "edit"
  127. HKR, NDI\params\NetworkAddress, LimitText, 0, "12"
  128. HKR, NDI\params\NetworkAddress, UpperCase, 0, "1"
  129. HKR, NDI\params\NetworkAddress, default, 0, " "
  130. HKR, NDI\params\NetworkAddress, optional, 0, "1"
  131. [SourceDisksNames]
  132. 1=%SourceDisk%,,1
  133. [SourceDisksFiles]
  134. usb8023m.sys=1
  135. rndismpm.sys=1
  136. usb8023w.sys=1
  137. rndismpw.sys=1
  138. usb8023k.sys=1
  139. rndismpk.sys=1
  140. [DestinationDirs]
  141. RNDIS_CopyFiles_98 = 10, system32/drivers
  142. RNDIS_CopyFiles_ME = 10, system32/drivers
  143. RNDIS_CopyFiles_NT = 12
  144. [Strings]
  145. ServiceDisplayName = "USB Remote NDIS Network Device Driver"
  146. NetworkAddress = "Network Address"
  147. Acme = "Acme Corporation"
  148. AcmeDevice = "Acme USB Remote NDIS Network Device"
  149. SourceDisk = "Acme USB Network Driver Install Disk"