USBDrvCo.inf 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. ; USBDrv.inf
  2. ;For win98/2k/xp/2003/vista
  3. ;--------- Version Section ---------------------------------------------------
  4. [Version]
  5. LayoutFile= Layout.inf, Layout1.inf, Layout2.inf
  6. Signature="$CHICAGO$"
  7. Provider=%ProviderName%
  8. Class=¼ÓÃÜÉ豸
  9. ClassGUID={ff646f81-8def-11d2-9449-00105a075f6b}
  10. DriverVer=12/29/2009 3.0
  11. ;--------- SourceDiskNames and SourceDiskFiles Section -----------------------
  12. ; These sections identify source disks and files for installation. They are
  13. ; shown here as an example, but commented out.
  14. [SourceDisksNames]
  15. 1 = "SDT Driver Disk","",,
  16. [SourceDisksFiles]
  17. USBDrv.sys = 1,,
  18. [SourceDiskFiles.NT]
  19. USBDrv.sys = 1,,
  20. samcoins.dll=1,,
  21. ;--------- ClassInstall/ClassInstall32 Section -------------------------------
  22. ; Not necessary if using a standard class
  23. ; 9X Style
  24. [ClassInstall]
  25. Addreg=Class_AddReg
  26. ; NT Style
  27. [ClassInstall32.NT]
  28. Addreg=Class_AddReg
  29. [Class_AddReg]
  30. HKR,,,,%DeviceClassName%
  31. HKR,,Icon,,"0"
  32. ;--------- DestinationDirs Section -------------------------------------------
  33. [DestinationDirs]
  34. USBDrv_Files_Driver = 10,System32\Drivers
  35. Files_CoInstaller=11 ; 11 ; system dir (system32 for NT)
  36. ;--------- Manufacturer and Models Sections ----------------------------------
  37. [Manufacturer]
  38. %MfgName%=Mfg0
  39. [Mfg0]
  40. %DeviceDesc%=USBDrv_DDI, USB\VID_0400&PID_c35a
  41. ;---------- DDInstall Sections -----------------------------------------------
  42. ; --------- Windows 9X -----------------
  43. ; Experimentation has shown that DDInstall root names greater than 19 characters
  44. ; cause problems in Windows 98
  45. [USBDrv_DDI]
  46. CopyFiles=USBDrv_Files_Driver
  47. AddReg=USBDrv_9X_AddReg
  48. ;Reboot
  49. [USBDrv_9X_AddReg]
  50. HKR,,DevLoader,,*ntkern
  51. HKR,,NTMPDriver,,USBDrv.sys
  52. ; --------- Windows NT -----------------
  53. [USBDrv_DDI.NT]
  54. CopyFiles=USBDrv_Files_Driver,Files_CoInstaller
  55. AddReg = CoInstaller_AddReg
  56. ;Reboot
  57. [CoInstaller_AddReg]
  58. HKLM,System\CurrentControlSet\Control\CoDeviceInstallers, {ff646f81-8def-11d2-9449-00105a075f6b},0x00010008, "samcoins.dll,SDTSamUsbCoInstaller"
  59. ; above line uses the line continuation character (\)
  60. [USBDrv_DDI.NT.Services]
  61. Addservice = USBDrv, 0x00000002, USBDrv_AddService
  62. [USBDrv_AddService]
  63. DisplayName = %SvcDesc%
  64. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  65. StartType = 3 ; SERVICE_DEMAND_START
  66. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  67. ServiceBinary = %10%\System32\Drivers\USBDrv.sys
  68. LoadOrderGroup = Base
  69. ; --------- Files (common) -------------
  70. [USBDrv_Files_Driver]
  71. USBDrv.sys,,,2
  72. ;=====================================================================
  73. ; Copy files specific to NT platform (2000 / XP)
  74. ;=====================================================================
  75. [Files_CoInstaller]
  76. samcoins.dll,,,2
  77. ;--------- Strings Section ---------------------------------------------------
  78. [Strings]
  79. ProviderName="SDT"
  80. MfgName="SDT Telecom"
  81. DeviceDesc="SDT USBÉ豸"
  82. DeviceClassName="ÃÜÂëÉ豸"
  83. SvcDesc="USBDrv.Sys WDM USB client"