;
; otmfilter.inf
; Copyright (c) 2009 Quanta Computer Inc.
;
[Version]
Signature	= "$Windows NT$"
Class		= HIDClass
ClassGUID	= {745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
Provider	= %strProvider%
CatalogFile	= otmfilter.cat
DriverVer	= 10/02/2009, 0001.0000.1002.0001

[SourceDisksNames.x86]
1 = %strDiskName%,,,		;; Disk 1

[SourceDisksNames.amd64]
1 = %strDiskName%,,,\amd64	;; Disk 1

[SourceDisksFiles]
otmfilter.sys = 1		;; Disk 1

[SourceDisksFiles]
otmfilter.sys = 1		;; Disk 1

[DestinationDirs]
DefaultDestDir = 10, system32\drivers		;; 10=windows directory

[Manufacturer]
%strManufacturer% = secModels,NTx86,NTamd64

[secModels.NTx86]
%strDeviceHID% = secInstall, USB\Vid_0408&Pid_3000
%strDeviceHID% = secInstall, USB\Vid_0408&Pid_3001

[secModels.NTamd64]
%strDeviceHID% = secInstall, USB\Vid_0408&Pid_3000
%strDeviceHID% = secInstall, USB\Vid_0408&Pid_3001

[ControlFlags]
ExcludeFromSelect	= *
;------------------------------------------------------------------------------
;  Windows NT Sections
;------------------------------------------------------------------------------
[secInstall.NT]
CopyFiles	= secCopyFiles
Include		= INPUT.inf
Needs		= HID_Inst.NT

[secCopyFiles]
otmfilter.sys

[secInstall.NT.HW]
AddReg	= secAddReg

[secAddReg]
;;0x00010008 = (FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND)
HKR,,LowerFilters, 0x00010008, %strServiceName%

[secInstall.NT.Services]
AddService	= %strServiceName%,,secAddService
Include		= INPUT.inf
Needs		= HID_Inst.NT.Services

[secAddService]
DisplayName	= %strDeviceHID%
ServiceType	= 1				;; SERVICE_KERNEL_DRIVER
StartType	= 3				;; SERVICE_DEMAND_START
ErrorControl	= 2				;; SERVICE_ERROR_NORMAL
ServiceBinary	= %12%\otmfilter.sys		;; 12=Drivers directory
DelReg		= secAddService.DelReg

[secAddService.DelReg]
HKR, Parameters

;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------

[Strings]
strProvider	= "Quanta Computer Inc."
strManufacturer	= "Quanta Computer Inc."
strDiskName	= "Optical Touch Screen driver disc"
strDeviceHID	= "Optical Touch Screen"
strServiceName	= "otmfilter.sys"
