; CH367WDM.INF
; Driver for CH367/8 (PCIe chip) V1.1
; WDM for Windows 2000/XP/Server2003/Vista/Server2008/Win7/64bit XP/64bit Server2003/64bit Vista/64bit Server2008/64bit Win7
; Copyright (C) WCH 2001-2012
;

[Version]
Signature = "$Chicago$"
Class     = WCH
ClassGuid = {77989ADF-06DB-4025-92E8-40D902C03B0A}
Provider  = %WinChipHead%
DriverVer = 03/06/2012, 1.1.2012.03
CatalogFile.NT = CH367WDM.CAT

[ControlFlags]
ExcludeFromSelect = PCI\VEN_1C00&DEV_5831&SUBSYS_58311C00, PCI\VEN_1C00&DEV_5831 ,PCI\VEN_1C00&DEV_5830&SUBSYS_58301C00, PCI\VEN_1C00&DEV_5830 ,PCI\VEN_1C00&DEV_5834&SUBSYS_58341C00, PCI\VEN_1C00&DEV_5834, PCI\VEN_1C00&DEV_4349&SUBSYS_43491C00,PCI\VEN_1C00&DEV_4349 

[ClassInstall32]
Addreg = WCHReg

[ClassInstall]
Addreg = WCHReg

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

[Manufacturer]
%WinChipHead% = WinChipHead,NT,NTamd64

[WinChipHead]
%CH366.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_4349&SUBSYS_43491C00
%CH366.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_4349
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5831&SUBSYS_58311C00
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5831
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5830&SUBSYS_58301C00
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5830
%CH368.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5834&SUBSYS_58341C00
%CH368.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5834

[WinChipHead.NT]
%CH366.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_4349&SUBSYS_43491C00
%CH366.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_4349
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5831&SUBSYS_58311C00
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5831
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5830&SUBSYS_58301C00
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5830
%CH368.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5834&SUBSYS_58341C00
%CH368.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5834

[WinChipHead.NTamd64]
%CH366.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_4349&SUBSYS_43491C00
%CH366.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_4349
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5831&SUBSYS_58311C00
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5831
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5830&SUBSYS_58301C00
%CH367.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5830
%CH368.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5834&SUBSYS_58341C00
%CH368.DeviceDesc% = CH367.Install, PCI\VEN_1C00&DEV_5834

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

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

[CH367.CopyFiles.SYS]
CH367WDM.SYS, , , 2

[CH367.CopyFiles.DLL]
CH367DLL.DLL, , , 2

[CH367.9X.AddReg]
HKR, , DevLoader, , *NTKERN
HKR, , NTMPDriver, , CH367WDM.SYS

[CH367.NT.AddReg]

[CH367.AddReg]
HKLM, SOFTWARE\WinChipHead\IC\CH367, WDM, 0x00010001, 0x00000016
HKLM, SOFTWARE\WinChipHead\IC\CH367, DLL, 0x00010001, 0x00000015
HKLM, SOFTWARE\WinChipHead\IC\CH367, Function, , "PCIe slave"

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

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

;AMD64
[CH367.Install.NTamd64]
CopyFiles = CH367.CopyFiles.DLLA32,CH367.CopyFiles.SYSA64,CH367.CopyFiles.DLLA64
AddReg    = CH367.NT.AddReg, CH367.AddReg

[CH367.CopyFiles.SYSA64]
CH367WDM64.SYS, , , 2

[CH367.CopyFiles.DLLA64]
CH367DLL64.DLL, , , 2

[CH367.CopyFiles.DLLA32]
CH367DLL.DLL, , , 2

[CH367.Install.NTamd64.Services]
AddService = CH367_A64, 2, CH367.ServiceA64

[CH367.ServiceA64]
DisplayName   = "CH367WDM64"
ServiceType   = 1
StartType     = 3
ErrorControl  = 1
ServiceBinary = %10%\System32\Drivers\CH367WDM64.SYS

[DestinationDirs]
DefaultDestDir      = 10, System32\Drivers
CH367.CopyFiles.SYS = 10, System32\Drivers
CH367.CopyFiles.DLL = 11
CH367.CopyFiles.DLLA32 = 10, SysWow64
CH367.CopyFiles.SYSA64 = 10, System32\Drivers
CH367.CopyFiles.DLLA64 = 11

[SourceDisksFiles]
CH367WDM.SYS  = 1
CH367DLL.DLL  = 1
CH367WDM64.SYS = 1
CH367DLL64.DLL = 1

[SourceDisksNames]
1 = %DISK_NAME%, CH367WDM.SYS, ,

[SourceDisksNames.amd64]
1 = %DISK_NAME%, CH367WDM64.SYS, ,

[Strings]
ClassName        = "Interface"
WinChipHead      = "wch.cn"
CH366.DeviceDesc = "PCIe Isolate Card"
CH367.DeviceDesc = "PCIe-I/O CH367"
CH368.DeviceDesc = "PCIe-I/O CH368"
DISK_NAME = "CH367 Installation Disk"

[Strings.0804]
ClassName        = "外部接口"
WinChipHead      = "wch.cn"
CH366.DeviceDesc = "PCIe 隔离卡"
CH367.DeviceDesc = "PCIe扩展板 CH367"
CH368.DeviceDesc = "PCIe扩展板 CH368"
DISK_NAME = "CH367 Installation Disk"
