; etpbus.inf
;
; Installation inf for the Device that needs flitering adapter.
;
; (c) Copyright 2004 eGalax
;

[Version]
Signature="$Windows NT$"
Provider=%ETPBUS%
Class=Ports
ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318} 
CatalogFile=etpbus.cat
DriverVer=07/20/2004, 4.0.1

[DestinationDirs]
DefaultDestDir   = 12

;
; Driver information
;

[Manufacturer]
%ETPBUS%   = ETP.Mfg

[ETP.Mfg]
%ETPBUS% = etpbus, *PNP0FAKE

;
; General installation section
;

[etpbus]
CopyFiles=etpbus.CopyFiles, DllCopyFiles

;
; File sections
;

[etpbus.CopyFiles]
etpbus.sys,,,2

[DllCopyFiles]
xtouch32ex.dll,,,0x60

;
; Service Installation
;

[etpbus.Services]
AddService = etpbus,  , etpbus_Service_Inst

[etpbus_Service_Inst]
DisplayName    = %etpbus.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
;LoadOrderGroup = serial
ServiceBinary  = %12%\etpbus.sys

[etpbus.HW]
; Add the device upper filter
AddReg = etpbus.HW.AddReg
; run the directives need by the port driver


[etpbus.HW.AddReg]
HKR,,"UpperFilters",0x00010008, etpbus
HKLM,%RUNONCEKEYNAME%, AutoSearch,, \
"rundll32 xtouch32ex.dll, SearchSerialTouch COM1COM2"

;
; Source file information
;

; use [SourceDisksNames.x86] for x86 only installs
; use [SourceDisksNames.alpha] for alpha only installs

[SourceDisksNames]
1 = %DiskId1%,,,

[SourceDisksFiles]
etpbus.sys = 1,,
xtouch32ex.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
;

DiskId1 = "etpbus Installation Disk #1 "
ETPBUS = "Port For Serial Touchscreen"
etpbus.SvcDesc="etpbus touchkit enumerator"
RUNONCEKEYNAME = "Software\Microsoft\Windows\CurrentVersion\RunOnce"


