USBDrvCo.inf 3.4 KB

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