; GzHid.inf
; Installation file (.inf) for the GUNZE Touch Panel device.
; (c) Copyright 2009 GUNZE limited

[Version]
Signature="$Windows NT$"
Class=HIDClass
ClassGUID={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%GUNZE%
CatalogFile=GzHid.cat
DriverVer=08/08/2009,2.6.0.0

[Manufacturer]
%TPMfg% = TPMfg,NTamd64 ; (Standard types)

[TPMfg.NTamd64]
%USB\Vid_0637&Pid_0004.DeviceDesc%=USB_Inst, USB\Vid_0637&Pid_0004, USB\Vid_0637&Pid_0004&REV_0400

[USB_Inst.NT]
include = Input.inf
needs = HID_Inst
CopyFiles = CopyFiles_Drivers

[USB_Inst.NT.Services]
AddService = HidUsb,%SPSVCINST_ASSOCSERVICE%,HID_Service_Inst
AddService = GzHid,,Filter_Service_Inst

[USB_Inst.NT.HW]
AddReg = USB_AddReg.NT.HW

[USB_AddReg.NT.HW]
; Install filter driver below hidusb.
HKLM, System\\CurrentControlSet\\Services\\GzTpParam, SSTimeInterval,	0x00010001, 0xFFFFFFFF
HKLM, System\\CurrentControlSet\\Services\\GzTpParam, SSEnabled,	0x00010001, 0
HKR,,"LowerFilters",0x00010000,"GzHid"
HKR,,"SelectiveSuspendEnabled",0x00010001,0x1

[CopyFiles_Drivers]
GzHid.sys

; Service Installation Sections
[Filter_Service_Inst]
DisplayName = "GzHid"
ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
StartType = 3 ;%SERVICE_DEMAND_START%
ErrorControl = 0 ;%SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\GzHid.sys
LoadOrderGroup = extended base

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

[SourceDisksFiles]
; Files for disk GUNZE Limited Installation Disk #1 HID
GzHid.sys = 1,,

[Strings]
Provider = "GUNZE"
TPMfg = "GUNZE Limited"
DiskName = "GUNZE Driver Installation Disk"

; Driver Information Entries
DriverMfgr="GUNZE Limited"
DriverVersionID="2.6.0.0"
DriverOEM="GUNZE"
DriverFamily="HID"
DriverProduct="GUNZE USB HID Device"
DriverDescription="GUNZE USB HID Device Driver"
DriverOEMVersion="2.6.0.0"
BaseDriverFileName="GzHid.sys"
BaseDriverFileVersion="2.6.0.0"

; Device Names
USB\Vid_0637&Pid_0004.DeviceDesc = "GUNZE USB HID Device"

; Substitutable parameters

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

DiskId1 = "GUNZE Limited Installation Disk #1 (Mouse)"
GUNZE = "GUNZE Limited"

