; CANWDM.INF
; Driver for CH365-CAN V1.1
; WDM/DLL for Windows 98/Me/2000/XP
; Copyright (C) W.ch 2001-2004
;

[Version]
Signature = "$Chicago$"
Class     = WCH
ClassGuid = {77989ADF-06DB-4025-92E8-40D902C03B0A}
Provider  = %WinChipHead%
DriverVer = 11/28/2004, 1.1.2004.11

[ControlFlags]
ExcludeFromSelect = PCI\VEN_4348&DEV_5049&REV_16

[ClassInstall32]
Addreg = WCHReg

[ClassInstall]
Addreg = WCHReg

[WCHReg]
HKR, , , 0, %ClassName%
HKR, , Icon, , -5
HKR, , NoInstallClass, , 1

[Manufacturer]
%WinChipHead% = WinChipHead

[WinChipHead]
%CAN.DeviceDesc% = CAN.Install, PCI\VEN_4348&DEV_5049&REV_16

[CAN.Install]
CopyFiles = CAN.CopyFiles.SYS, CAN.CopyFiles.DLL
AddReg    = CAN.9X.AddReg, CAN.AddReg

[CAN.Install.NT]
CopyFiles = CAN.CopyFiles.SYS, CAN.CopyFiles.DLL
AddReg    = CAN.NT.AddReg, CAN.AddReg

[CAN.CopyFiles.SYS]
CANWDM.SYS, , , 2

[CAN.CopyFiles.DLL]
CANDLL.DLL, , , 2

[CAN.9X.AddReg]
HKR, , DevLoader, , *NTKERN
HKR, , NTMPDriver, , CANWDM.SYS

[CAN.NT.AddReg]

[CAN.AddReg]
HKLM, SOFTWARE\WinChipHead\IC\CAN, WDM, 0x00010001, 0x00000011
HKLM, SOFTWARE\WinChipHead\IC\CAN, DLL, 0x00010001, 0x00000011
HKLM, SOFTWARE\WinChipHead\IC\CAN, Function, , "PCI CAN"

[CAN.Install.NT.Services]
AddService = CAN, 2, CAN.Service

[CAN.Service]
DisplayName   = "CANWDM"
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %10%\System32\Drivers\CANWDM.SYS

[DestinationDirs]
DefaultDestDir      = 10, System32\Drivers
CAN.CopyFiles.SYS = 10, System32\Drivers
CAN.CopyFiles.DLL = 11

[SourceDisksFiles]
CANWDM.SYS  = 1
CANDLL.DLL  = 1

[SourceDisksNames]
1 = "CH365-CAN Installation Disk", CANWDM.SYS, ,

[Strings]
ClassName        = "外部接口"
WinChipHead      = "沁恒电子WCH"
CAN.DeviceDesc = "CH365-CAN接口卡"
