winusb_device.inf 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. [Version]
  2. Signature = "$Windows NT$"
  3. Class = USBDevice
  4. ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6}
  5. Provider = %ManufacturerName%
  6. DriverVer = "$$TODAY_DATE$$"
  7. CatalogFile = winusb.cat
  8. ; ========== Manufacturer/Models sections ===========
  9. [Manufacturer]
  10. %ManufacturerName% = Standard,NTx86,NTamd64
  11. [Standard.NTx86]
  12. %DeviceName% =USB_Install, $$HARDWARE_ID$$
  13. [Standard.NTamd64]
  14. %DeviceName% =USB_Install, $$HARDWARE_ID$$
  15. ; ========== Class definition ===========
  16. [ClassInstall32]
  17. AddReg = ClassInstall_AddReg
  18. [ClassInstall_AddReg]
  19. HKR,,,,%ClassName%
  20. HKR,,NoInstallClass,,1
  21. HKR,,IconPath,%REG_MULTI_SZ%,"%systemroot%\system32\setupapi.dll,-20"
  22. HKR,,LowerLogoVersion,,5.2
  23. ; =================== Installation ===================
  24. [USB_Install]
  25. Include = winusb.inf
  26. Needs = WINUSB.NT
  27. [USB_Install.Services]
  28. Include =winusb.inf
  29. Needs = WINUSB.NT.Services
  30. [USB_Install.HW]
  31. AddReg=Dev_AddReg
  32. [Dev_AddReg]
  33. HKR,,DeviceInterfaceGUIDs,0x10000,"$$DEVICE_GUID$$"
  34. ; [DestinationDirs]
  35. ; If your INF needs to copy files, you must not use the DefaultDestDir directive here.
  36. ; You must explicitly reference all file-list-section names in this section.
  37. ; =================== Strings ===================
  38. [Strings]
  39. ManufacturerName="$$PROVIDER_NAME$$"
  40. ClassName="Universal Serial Bus devices"
  41. DeviceName="$$DEVICE_NAME$$"
  42. REG_MULTI_SZ = 0x00010000