; idcfltr.INF
; Copyright (c) 2010 IdeaCom Technology Inc.

[version]
signature="$WINDOWS NT$"
Provider=%Company%
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
DriverVer=09/14/2010,3.3.0.23
CatalogFile=idcfltr.cat

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir  =11     ;LDID_SYS
idcInst.NT.Copy =12     ;LDID_DRIVERS

[SourceDisksNames.x86]
1=%DiskName%,,,

[SourceDisksNames.amd64]
1=%DiskName%,,,\amd64

[SourceDisksFiles]
idcfltr.sys = 1

; Drivers
;----------------------------------------------------------
[Manufacturer]
%Company%=IDC, NTx86, NTx86.6.0, NTamd64, NTamd64.6.0

; WinXP
[IDC.NTx86]
%IdcInst% =idcInst,USB\VID_1CB6&PID_6680
%IdcInst% =idcInst,USB\VID_1CB6&PID_6681
%IdcInst% =idcInst,USB\VID_1CB6&PID_1681
%ETTInst% =idcInst,USB\VID_22B9&PID_6681
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6690
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6650
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6651
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6672
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6673

; Vista, Win7
[IDC.NTx86.6.0]
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6680&MI_00
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6681&MI_00
%IdcInst% =idcInst2,USB\VID_1CB6&PID_1681&MI_00
%ETTInst% =idcInst2,USB\VID_22B9&PID_6681&MI_00
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6690
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6650
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6651
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6672
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6673

; WinXP(x64)
[IDC.NTamd64]
%IdcInst% =idcInst,USB\VID_1CB6&PID_6680
%IdcInst% =idcInst,USB\VID_1CB6&PID_6681
%IdcInst% =idcInst,USB\VID_1CB6&PID_1681
%ETTInst% =idcInst,USB\VID_22B9&PID_6681
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6690
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6650
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6651
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6672
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6673

; Vista(x64), Win7(x64)
[IDC.NTamd64.6.0]
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6680&MI_00
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6681&MI_00
%IdcInst% =idcInst2,USB\VID_1CB6&PID_1681&MI_00
%ETTInst% =idcInst2,USB\VID_22B9&PID_6681&MI_00
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6690
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6650
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6651
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6672
%IdcInst% =idcInst2,USB\VID_1CB6&PID_6673

[idcInst.NT]
CopyFiles                   =idcInst.NT.Copy

[idcInst.NT.HW]
AddReg = idcFilter1
AddReg = idcAddReg

[idcInst2.NT]
CopyFiles                   =idcInst.NT.Copy

[idcInst2.NT.HW]
AddReg = idcFilter2
AddReg = idcAddReg

[idcFilter1]
HKR,,"UpperFilters",0x00010000,"usbccgp"

[idcFilter2]
HKR,,"UpperFilters",0x00010000,"hidusb"

[idcAddReg]
;HKR,,debuglevel,0x00010001,0xFFF

[idcInst.NT.Copy]
idcfltr.sys

[idcInst.NT.Services]
AddService                  =IdcFltr,0x00000002,idcServiceInst,idcEventLogInst

[idcInst2.NT.Copy]
idcfltr.sys

[idcInst2.NT.Services]
AddService                  =IdcFltr,0x00000002,idcServiceInst,idcEventLogInst

[idcEventLogInst]
AddReg                      =idcEventLogAddReg

[idcEventLogAddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\idcfltr.sys"
HKR,,TypesSupported,0x00010001,7


[idcServiceInst]
DisplayName    = %idcInst.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ;
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\idcfltr.sys
LoadOrderGroup = Extended Base

; User readable strings
;----------------------------------------------------------
[Strings]
Company         = "Touch Screen Controller"
IdcInst         = "IdeaCom HID Touch Screen"
ETTInst         = "eTurbo Touch HID Touch Screen"
idcInst.SVCDESC = "HID Touch Screen Driver"
DiskName        = "IdeaCom Touch Screen Installation Disk"
