CH341SER.INF
上传用户:xnx168
上传日期:2013-01-18
资源大小:97k
文件大小:3k
源码类别:

系统设计方案

开发平台:

Visual C++

  1. ; CH341SER.INF
  2. ; Driver for CH341 (USB=>SERIAL chip) V1.9
  3. ; WDM&VXD for Windows 98/ME/2000/XP
  4. ; Copyright (C) W.ch 2001-2005
  5. ;
  6. [Version]
  7. Signature = "$Chicago$"
  8. Class     = Ports
  9. ClassGuid = {4D36E978-E325-11CE-BFC1-08002BE10318}
  10. Provider  = %WinChipHead%
  11. DriverVer = 08/28/2005, 1.9.2005.08
  12. [ControlFlags]
  13. ExcludeFromSelect = USBVID_4348&PID_5523
  14. ExcludeFromSelect = USBSERPORTSER5523
  15. ExcludeFromSelect = CH341PORTSER5523
  16. [Manufacturer]
  17. %WinChipHead% = WinChipHead
  18. [WinChipHead]
  19. %CH341SER.DeviceDesc% = CH341SER_Install, USBVID_4348&PID_5523
  20. %CH341S98.DeviceDesc% = CH341S98_Install, USBSERPORTSER5523, CH341PORTSER5523
  21. [CH341SER_Install]
  22. DelFiles  = CH341S98.DelFiles.SYS
  23. CopyFiles = CH341SER.CopyFiles.SYS, CH341SER.CopyFiles.DLL
  24. AddReg    = CH341SER.9X.AddReg, CH341SER.AddReg
  25. [CH341SER_Install.NT]
  26. CopyFiles = CH341SER.NT.CopyFiles.SYS, CH341SER.CopyFiles.DLL
  27. AddReg    = CH341SER.NT.AddReg, CH341SER.AddReg
  28. [CH341SER_Install.NT.HW]
  29. AddReg    = CH341SER.NT.HW.AddReg
  30. [CH341S98_Install]
  31. DelFiles  = CH341S98.DelFiles.SYS
  32. CopyFiles = CH341S98.CopyFiles.VXD, CH341SER.CopyFiles.SYS
  33. AddReg    = CH341S98.9X.AddReg, CH341S98.AddReg
  34. [CH341S98_Install.NT]
  35. [CH341S98.DelFiles.SYS]
  36. CH341S98.SYS, , , 1
  37. [CH341SER.CopyFiles.SYS]
  38. CH341S98.SYS, , , 2
  39. [CH341SER.NT.CopyFiles.SYS]
  40. CH341SER.SYS, , , 2
  41. [CH341S98.CopyFiles.VXD]
  42. CH341SER.VXD, , , 2
  43. [CH341SER.CopyFiles.DLL]
  44. CH341PT.DLL, , , 2
  45. ;安装DLL是可选的,DLL可以用于识别CH341端口和监视CH341端口的插拔事件
  46. [CH341SER.9X.AddReg]
  47. HKR, , DevLoader, , *NTKERN
  48. HKR, , NTMPDriver, , CH341S98.SYS
  49. [CH341SER.NT.AddReg]
  50. HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
  51. [CH341SER.NT.HW.AddReg]
  52. ;HKR,,"UpperFilters",0x00010000,"serenum"
  53. ;上面这行用于枚举接在串口的即插即用设备,启动时将产生DTR和RTS信号,如果需要枚举,请将上面这行的分号去掉
  54. [CH341S98.9X.AddReg]
  55. HKR, , DevLoader, , *vcomm
  56. HKR, , PortDriver, , CH341SER.VXD
  57. HKR, , Contention, , *vcd
  58. HKR, , ConfigDialog, , serialui.dll
  59. HKR, , DCB, 3, 1C,00,00,00, 80,25,00,00, 11,00,00,00, 00,00,0A,00, 0A,00,08,00, 00,11,13,00, 00,00,00,00
  60. HKR, , PortSubClass, 1, 01
  61. HKR, , EnumPropPages, , "serialui.dll,EnumPropPages"
  62. ;HKR, , Enumerator, , serenum.vxd
  63. ;上面这行用于枚举接在串口的即插即用设备,启动时将产生DTR和RTS信号,如果需要枚举,请将上面这行的分号去掉
  64. [CH341SER.AddReg]
  65. HKLM, SOFTWAREWinChipHeadICCH341SER, WDM, 0x00010001, 0x00000018
  66. HKLM, SOFTWAREWinChipHeadICCH341PORT, DLL, 0x00010001, 0x00000010
  67. HKLM, SOFTWAREWinChipHeadICCH341SER, Function, , "USB=>Serial"
  68. [CH341S98.AddReg]
  69. HKLM, SOFTWAREWinChipHeadICCH341SER, VXD, 0x00010001, 0x00000018
  70. [CH341SER_Install.NT.Services]
  71. AddService = CH341SER, 2, CH341SER.Service
  72. [CH341SER.Service]
  73. DisplayName   = "CH341SER"
  74. ServiceType   = 1
  75. StartType     = 3
  76. ErrorControl  = 1
  77. ServiceBinary = %10%System32DriversCH341SER.SYS
  78. [DestinationDirs]
  79. DefaultDestDir      = 10, System32Drivers
  80. CH341S98.DelFiles.SYS = 11
  81. CH341SER.CopyFiles.SYS = 10, System32Drivers
  82. CH341SER.NT.CopyFiles.SYS = 10, System32Drivers
  83. CH341S98.CopyFiles.VXD = 11
  84. CH341SER.CopyFiles.DLL = 11
  85. [SourceDisksFiles]
  86. CH341SER.SYS  = 1
  87. CH341S98.SYS  = 1
  88. CH341SER.VXD  = 1
  89. [SourceDisksNames]
  90. 1 = "CH341 Serial Installation Disk", CH341SER.INF, ,
  91. [Strings]
  92. WinChipHead      = "wch.cn"
  93. CH341SER.DeviceDesc = "USB-SERIAL CH341"
  94. CH341S98.DeviceDesc = "USB-SERIAL CH341"