[Version]
Signature="$Windows NT$"
Class=Mouse
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Provider=%Provider%
DriverVer=07/14/2014,6.1.7600.16385
CatalogFile.NTx86   = TchpkMou32.cat
CatalogFile.NTAMD64 = TchpkMou64.cat

[SourceDisksNames]
1 = %DiskName%

[SourceDisksNames.x86]
1 = %DiskName%

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

[SourceDisksFiles]
TpHidFlt.sys = 1
WdfCoInstaller01009.dll = 1

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS

[ControlFlags]
ExcludeFromSelect = *

; Manufacturer Section
; ---------------------------------------------------------
[Manufacturer]
%TCHPK%=TCHPKMfg,NTx86,NTamd64

; Devices Section for Win2K
; ---------------------------------------------------------
[TCHPKMfg]
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1234&Pid_8888, HID\Vid_1234&Pid_8888&Col02

%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1688, HID\Vid_1BFD&Pid_1688&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1568, HID\Vid_1BFD&Pid_1568&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1368, HID\Vid_1BFD&Pid_1368&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1268, HID\Vid_1BFD&Pid_1268&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_6968, HID\Vid_1BFD&Pid_6968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_5968, HID\Vid_1BFD&Pid_5968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1968, HID\Vid_1BFD&Pid_1968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_2968, HID\Vid_1BFD&Pid_2968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_8008, HID\Vid_1BFD&Pid_8008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_3050, HID\Vid_1BFD&Pid_3050&Col02

%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_0001, HID\Vid_1DDB&Pid_0001&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1688, HID\Vid_1DDB&Pid_1688&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1568, HID\Vid_1DDB&Pid_1568&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1368, HID\Vid_1DDB&Pid_1368&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1268, HID\Vid_1DDB&Pid_1268&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_6968, HID\Vid_1DDB&Pid_6968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_5968, HID\Vid_1DDB&Pid_5968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1968, HID\Vid_1DDB&Pid_1968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_2968, HID\Vid_1DDB&Pid_2968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_8008, HID\Vid_1DDB&Pid_8008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_3050, HID\Vid_1DDB&Pid_3050&Col02

%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_0006, HID\Vid_22B9&Pid_0006&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_0008, HID\Vid_22B9&Pid_0008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1688, HID\Vid_22B9&Pid_1688&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1668, HID\Vid_22B9&Pid_1668&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1568, HID\Vid_22B9&Pid_1568&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1368, HID\Vid_22B9&Pid_1368&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1268, HID\Vid_22B9&Pid_1268&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_6968, HID\Vid_22B9&Pid_6968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_5968, HID\Vid_22B9&Pid_5968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1968, HID\Vid_22B9&Pid_1968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_2968, HID\Vid_22B9&Pid_2968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_8008, HID\Vid_22B9&Pid_8008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_3050, HID\Vid_22B9&Pid_3050&Col02

; Devices Section for XP and above
; ---------------------------------------------------------
[TCHPKMfg.NTx86]
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1234&Pid_8888, HID\Vid_1234&Pid_8888&Col02

%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1688, HID\Vid_1BFD&Pid_1688&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1568, HID\Vid_1BFD&Pid_1568&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1368, HID\Vid_1BFD&Pid_1368&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1268, HID\Vid_1BFD&Pid_1268&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_6968, HID\Vid_1BFD&Pid_6968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_5968, HID\Vid_1BFD&Pid_5968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1968, HID\Vid_1BFD&Pid_1968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_2968, HID\Vid_1BFD&Pid_2968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_8008, HID\Vid_1BFD&Pid_8008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_3050, HID\Vid_1BFD&Pid_3050&Col02

%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_0001, HID\Vid_1DDB&Pid_0001&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1688, HID\Vid_1DDB&Pid_1688&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1568, HID\Vid_1DDB&Pid_1568&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1368, HID\Vid_1DDB&Pid_1368&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1268, HID\Vid_1DDB&Pid_1268&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_6968, HID\Vid_1DDB&Pid_6968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_5968, HID\Vid_1DDB&Pid_5968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1968, HID\Vid_1DDB&Pid_1968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_2968, HID\Vid_1DDB&Pid_2968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_8008, HID\Vid_1DDB&Pid_8008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_3050, HID\Vid_1DDB&Pid_3050&Col02

%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_0006, HID\Vid_22B9&Pid_0006&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_0008, HID\Vid_22B9&Pid_0008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1688, HID\Vid_22B9&Pid_1688&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1668, HID\Vid_22B9&Pid_1668&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1568, HID\Vid_22B9&Pid_1568&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1368, HID\Vid_22B9&Pid_1368&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1268, HID\Vid_22B9&Pid_1268&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_6968, HID\Vid_22B9&Pid_6968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_5968, HID\Vid_22B9&Pid_5968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1968, HID\Vid_22B9&Pid_1968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_2968, HID\Vid_22B9&Pid_2968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_8008, HID\Vid_22B9&Pid_8008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_3050, HID\Vid_22B9&Pid_3050&Col02

[TCHPKMfg.NTamd64]
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1234&Pid_8888, HID\Vid_1234&Pid_8888&Col02

%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1688, HID\Vid_1BFD&Pid_1688&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1568, HID\Vid_1BFD&Pid_1568&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1368, HID\Vid_1BFD&Pid_1368&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1268, HID\Vid_1BFD&Pid_1268&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_6968, HID\Vid_1BFD&Pid_6968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_5968, HID\Vid_1BFD&Pid_5968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_1968, HID\Vid_1BFD&Pid_1968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_2968, HID\Vid_1BFD&Pid_2968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_8008, HID\Vid_1BFD&Pid_8008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1BFD&Pid_3050, HID\Vid_1BFD&Pid_3050&Col02

%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_0001, HID\Vid_1DDB&Pid_0001&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1688, HID\Vid_1DDB&Pid_1688&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1568, HID\Vid_1DDB&Pid_1568&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1368, HID\Vid_1DDB&Pid_1368&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1268, HID\Vid_1DDB&Pid_1268&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_6968, HID\Vid_1DDB&Pid_6968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_5968, HID\Vid_1DDB&Pid_5968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_1968, HID\Vid_1DDB&Pid_1968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_2968, HID\Vid_1DDB&Pid_2968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_8008, HID\Vid_1DDB&Pid_8008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_1DDB&Pid_3050, HID\Vid_1DDB&Pid_3050&Col02

%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_0006, HID\Vid_22B9&Pid_0006&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_0008, HID\Vid_22B9&Pid_0008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1688, HID\Vid_22B9&Pid_1688&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1668, HID\Vid_22B9&Pid_1668&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1568, HID\Vid_22B9&Pid_1568&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1368, HID\Vid_22B9&Pid_1368&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1268, HID\Vid_22B9&Pid_1268&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_6968, HID\Vid_22B9&Pid_6968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_5968, HID\Vid_22B9&Pid_5968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_1968, HID\Vid_22B9&Pid_1968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_2968, HID\Vid_22B9&Pid_2968&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_8008, HID\Vid_22B9&Pid_8008&Col02
%DeviceDesc%=TpHidFlt_Inst,HID\Vid_22B9&Pid_3050, HID\Vid_22B9&Pid_3050&Col02


; Install Section for Windows 2000 & Windows XP
; ---------------------------------------------------------

[TpHidFlt_Inst.NT]
Include = MSMOUSE.INF
Needs = HID_Mouse_Inst.NT
CopyFiles = TpHidFlt_Inst_CopyFiles.NT

[TpHidFlt_Inst.NT.HW]
Include = MSMOUSE.INF
Needs = HID_Mouse_Inst.NT
AddReg = TpHidFlt_Inst_HWAddReg.NT

[TpHidFlt_Inst_HWAddReg.NT]
HKR,,"UpperFilters",0x00010000,"TpHidFlt"

[TpHidFlt_Inst_CopyFiles.NT]
TpHidFlt.sys

[TpHidFlt_Inst.NT.Services]
Needs = HID_Mouse_Inst.NT.Services
AddService = TpHidFlt, , TpHidFlt_Service_Inst

[TpHidFlt_Service_Inst]
DisplayName    = %TpHidFlt.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\TpHidFlt.sys
LoadOrderGroup = PNP Filter


; Source Media Section
; ---------------------------------------------------------
[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
TpHidFlt.sys = 1

;
;--- TpHidFlt_Inst WDF Coinstaller installation ------
;

[DestinationDirs]
TpHidFlt_Inst_CoInstaller_CopyFiles = 11

[TpHidFlt_Inst.NT.CoInstallers]
AddReg=TpHidFlt_Inst_CoInstaller_AddReg
CopyFiles=TpHidFlt_Inst_CoInstaller_CopyFiles

[TpHidFlt_Inst_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[TpHidFlt_Inst_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[SourceDisksFiles]
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

[TpHidFlt_Inst.NT.Wdf]
KmdfService = TpHidFlt, TpHidFlt_wdfsect
[TpHidFlt_wdfsect]
KmdfLibraryVersion = 1.9


; Strings Section
; ---------------------------------------------------------
[Strings]
; Provider names
Provider = "Touch Pack"

; Mfg names
TCHPK = "Touch Pack"

; Service names
TpHidFlt.SvcDesc = "Touch Pack Service"

; Media names
DiskName = "Risintech touch Driver Disk"

; HID device IDs
DeviceDesc = "Touch Mouse Hid Driver"

; Standard defs
SPSVCINST_TAGTOFRONT  = 0x00000001
SPSVCINST_ASSOCSERVICE= 0x00000002
SERVICE_KERNEL_DRIVER = 1
SERVICE_BOOT_START    = 0
SERVICE_SYSTEM_START  = 1
SERVICE_AUTO_START    = 2
SERVICE_ERROR_NORMAL  = 1
SERVICE_ERROR_IGNORE  = 0
REG_EXPAND_SZ         = 0x00020000
REG_DWORD             = 0x00010001
REG_SZ                = 0x00000000


