; GzTpCom.inf
; Installation file (.inf) for the GUNZE Touch Panel device.
; Copyright (c) 2009 GUNZE limited
; Modified 2009/08/08

[Version]
Signature = "$Windows NT$"
Provider = %GUNZE%
ClassGUID = {4D36E96F-E325-11CE-BFC1-08002BE10318}
Class = Mouse
CatalogFile = GzTpCom.cat
DriverVer = 08/08/2009,2.6.0.0

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%GUNZE% = GUNZE.Mfg

[GUNZE.Mfg]
%GUNZE.DeviceDesc0% = GzTpCom, SERENUM\GZE0001

[GzTpCom]
AddReg=GzTpCom.AddReg
CopyFiles=GzTpCom.CopyFiles;, mouclass.CopyFiles

[GzTpCom.CopyFiles]
GzTpCom.sys

;[mouclass.CopyFiles]
;mouclass.sys

[GzTpCom.AddReg]
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, TouchMode, 0x00010001, 0
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, Liftoff, 0x00010001, 5
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, Max XPixels, 0x00010001, 1024
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, Max YPixels, 0x00010001, 768
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, CalTimeout, 0x00010001, 10
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, CalNum, 0x00010001, 4
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, Cal4a4, 0x00010001, 0x00001fa3
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, Cal4b4, 0x00010001, 0xfffffea3
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, Cal4c4, 0x00010001, 0x00000066
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, Cal4d4, 0x00010001, 0x00028000
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, Cal4e4, 0x00010001, 0x0000006f
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, Cal4f4, 0x00010001, 0x00001934
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, Cal4g4, 0x00010001, 0x0000008e
;HKLM, System\\CurrentControlSet\\Services\\GzTpParam\\0, Cal4h4, 0x00010001, 0xfff6c000

[GzTpCom.Services]
AddService = GzTpCom, 0x00000002, GzTpCom_Service_Inst, GzTpCom_EventLog_Inst
;AddService = mouclass,, mouclass_Service_Inst, mouclass_EventLog_Inst
Include=msmouse.inf
Needs=MouClass.Services

;[mouclass_Service_Inst]
;DisplayName    = %mouclass.SvcDesc%
;ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
;StartType      = 1                  ; SERVICE_SYSTEM_START
;ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
;ServiceBinary  = %12%\mouclass.sys
;LoadOrderGroup = Pointer Class

;[mouclass_EventLog_Inst]
;AddReg = mouclass_EventLog_AddReg

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

[GzTpCom_Service_Inst]
DisplayName    = %GUNZE.DeviceDesc0%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_SYSTEM_MANUAL
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\GzTpCom.sys
LoadOrderGroup = Pointer Port

[GzTpCom_EventLog_Inst]
AddReg = GzTpCom_EventLog_AddReg

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

[GzTpCom.HW]
AddReg = GzTpCom.HW.AddReg

[GzTpCom.HW.AddReg]

[SourceDisksNames.x86]
1 = %DiskId1%,,,""

[SourceDisksFiles]
GzTpCom.sys = 1,,

;[MouClass.Services]
;AddService = mouclass,, mouclass_Service_Inst, mouclass_EventLog_Inst   

;[ClassInstall32.NT]
;AddReg=mouse_class_addreg

;[mouse_class_addreg]
;HKR,,,,%MouseClassName%
;HKR,,Icon,,"-2"
;HKR,,Installer32,,"SysSetup.Dll,MouseClassInstaller"
;HKR,,NoInstallClass,,"1"
;HKR,,TroubleShooter-0,,"hcp://help/tshoot/hdw_mouse.htm"

[Strings]
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_SZ		      = 0x00000000
REG_MULTI_SZ          = 0x00010000
REG_EXPAND_SZ         = 0x00020000
REG_BINARY	      = 0x00000001
REG_DWORD	      = 0x00010001
SERVICEROOT	      = "System\CurrentControlSet\Services"
GUNZE.DeviceDesc0     = "GUNZE Serial Touch Panel"
DiskId1               = "GUNZE Limited Installation Disk #1 (Mouse)"
GUNZE                 = "GUNZE Limited"
;mouclass.SvcDesc      = "Mouse Class Driver"
;MouseClassName        = "Mouse or other Pointing device"
