usbhidio.inf
上传用户:gaoyannt
上传日期:2007-01-09
资源大小:62k
文件大小:1k
源码类别:

USB编程

开发平台:

Visual Basic

  1. ;INF file for usbhidio.
  2. ;Example INF file for HIDs.
  3. [Version]
  4. Signature="$CHICAGO$"
  5. Class=HID
  6. ;The GUID for HIDs
  7. ClassGUID={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
  8. ;The provider is the creator of the INF file.
  9. provider=%Provider%
  10. ;
  11. ;Specified the Windows 98 installation files needed to install the drivers.
  12. LayoutFile=layout.inf, layout1.inf
  13. [ClassInstall]
  14. ;Install a class to the registry's Class section if needed.
  15. Addreg=Class.AddReg
  16. [Class.AddReg]
  17. ;Add a class decription to the registry if needed.
  18. HKR,,Icon,,"-1"
  19. HKR,,Installer,,mmci.dll
  20. [Manufacturer]
  21. %MfgName%=USBComplete
  22. [USBComplete]
  23. ;Specify the Product and Vendor IDs.
  24. ;Uses Lakeview Research's Vendor ID (0925)
  25. ;Uses the Product ID 1234
  26. %USBVID_0925&PID_1234.DeviceDesc%=SampleHID, USBVID_0925&PID_1234
  27. [DestinationDirs]
  28. ;Specify the folder for Copyfiles.
  29. ;11 is the system directory.
  30. USBHID.CopyList = 11             ; LDID_SYS
  31. ;---------------------------------------------------------------;
  32. [SampleHID]
  33. CopyFiles=SampleHID.CopyList
  34. AddReg=SampleHID.AddReg
  35. [SampleHID.AddReg]
  36. HKR,,DevLoader,,*ntkern
  37. HKR,,NTMPDriver,,"hidusb.sys"
  38. [SampleHID.CopyList]
  39. ;These are Windows 98's HID drivers.
  40. hidusb.sys
  41. hidclass.sys
  42. hidparse.sys
  43. ;---------------------------------------------------------------;
  44. [Strings]
  45. Provider="Lakeview Research"
  46. MfgName="USB Complete"
  47. USBVID_0925&PID_1234.DeviceDesc="Sample USB human interface device (HID)"