USBDrvCo.inf 2.9 KB

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