; egxfilter.inf
;
; Installation file (.inf) for the eGalaxTouch device.
;
; (c) Copyright 2000 ~ 2009 Inc. 
;

[Version]
Signature="$Windows NT$"
Provider=%EGALAXTOUCH%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Class=Mouse
CatalogFile=egxfilter.cat
DriverVer=07/06/2009, 5.6.0.6806
[SourceDisksNames]
1 = %DiskId1%,,
[DestinationDirs]
DefaultDestDir   = 12
;DLLCopyFiles = 11
;
; Driver information
;

[Manufacturer]
%EGALAXTOUCH%   = eGalaxTouchMfg;

[eGalaxTouchMfg]
%PS2_TOUCH%	     = egxps2_Inst, *PNP0F13

;
; General installation section
;
;====================================================================
[DefaultInstall]
CopyFiles=egxfilter.Copy.files
AddReg=egxfilter.Add.Reg
DelReg=egxfilter.Del.Reg

[egxfilter.Del.Reg]
HKLM,"System\CurrentControlSet\Services\egxfilter"

[egxfilter.Add.Reg]
HKLM,"System\CurrentControlSet\Services\egxfilter","ServiceType",0x00010003,1
HKLM,"System\CurrentControlSet\Services\egxfilter","StartType",0x00010003,3
HKLM,"System\CurrentControlSet\Services\egxfilter","ErrorControl",0x00010003,0
HKLM,"System\CurrentControlSet\Services\egxfilter","LoadOrderGroup",0x00010000,"Pointer Port"
HKLM,"System\CurrentControlSet\Services\egxfilter","ServiceBinary",0x00010000,"%12%\egxfilter.sys"

[egxfilter.Copy.files]
egxfilter.sys
;====================================================================
; PS2 Installation Section
;====================================================================

[egxps2_Inst]
; perform port related actions from msmouse.inf
Include=msmouse.inf
Needs=PS2_Inst
AddReg=egxps2_AddReg
CopyFiles=egxps2_Copyfiles, DLLCopyFiles

[egxps2_AddReg]
;
; File sections
;
;HKR,,EnumPropPages32,,"egalaxtouchprop.dll,EnumPropPages"

[egxps2_CopyFiles]
egxfilter.sys

[DLLCopyFiles]
;egalaxtouchprop.dll

;
; Service Installation
;

[egxps2_Inst.Services]
; Install the port driver and mouclass from msmouse.inf
Include=msmouse.inf
Needs=PS2_Inst.Services
AddService = egxfilter,, egxfilter_Service_Inst

[egxfilter_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary  = %12%\egxfilter.sys

;[egxfilter_EventLog_Inst]
;AddReg = egxfilter_EventLog_AddReg

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

[egxps2_Inst.HW]
; Add the device upper filter
Include=msmouse.inf
Needs=PS2_Inst.HW
AddReg = egxfilter.HW.AddReg

[egxfilter.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"egxfilter"

;
; Source file information
;
[SourceDisksFiles]
; Files for disk eGalaxTouch Touchscreen Controller. Installation Disk #1 (Mouse)
egxfilter.sys = 1,,
;egalaxtouchprop.dll = 1,,

[Strings]

;
; Non-Localizable Strings
;

REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
SERVICEROOT    = "System\CurrentControlSet\Services"

;
; Localizable Strings
;

PS2_TOUCH	= "eGalaxTouch Filter"
EGX_BUS		= "TouchScreen Enumerator"
RUNONCEKEYNAME = "Software\Microsoft\Windows\CurrentVersion\RunOnce"
DiskId1 = "eGalaxTouch. Driver Installation Disk(TouchScreen)"
EGALAXTOUCH = "eGalaxTouch"
