; pmhidusb.INF
;
; Version 2.3.3.0, 2010/01/08
;
; INF file for PenMount USB HID Driver
;
; Copyright (c) 2010 PenMount Touch Solutions
; 

[Version]
Signature   = "$WINDOWS NT$"
Class       = HIDClass
ClassGuid   = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider    = %PENMOUNT.MFG%
DriverVer   = 01/08/2010,2.3.3.0
CatalogFile.NTx86   = pmhidusbx86.cat
CatalogFile.NTAMD64 = pmhidusbx64.cat

[SourceDisksNames]
1=%PENMOUNT.DISK%

[SourceDisksNames.x86]
1=%PENMOUNT.DISK%,,,\i386

[SourceDisksNames.amd64]
1=%PENMOUNT.DISK%,,,\amd64

[SourceDisksFiles]
pmhidusb.sys   = 1 ; should be %PENMOUNT.SERVICE.NAME%.sys, when self sign change this to the actual file name
pmCoInstlr.dll = 1

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir                   = 12
pmInstall.CopyFiles              = 12
pmInstall.CoInstallers.CopyFiles = 11

; --------------------------------------------------------------------------------
;   Manufacturer Section
; --------------------------------------------------------------------------------
[Manufacturer]
%PENMOUNT.MFG%  = PENMOUNT.MFG, NTx86, NTamd64

[PENMOUNT.MFG]
%PM3000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_3000
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6000
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6003
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6004
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6005
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6006
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6007
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6008
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6009
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_600A
%PM6250.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6250
%PM5000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_5000
%PM5000.DeviceDesc% = pmInstall, USB\VID_1204&PID_9998

[PENMOUNT.MFG.NTx86]
%PM3000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_3000
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6000
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6003
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6004
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6005
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6006
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6007
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6008
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6009
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_600A
%PM6250.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6250
%PM5000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_5000
%PM5000.DeviceDesc% = pmInstall, USB\VID_1204&PID_9998

[PENMOUNT.MFG.NTamd64]
%PM3000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_3000
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6000
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6003
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6004
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6005
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6006
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6007
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6008
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6009
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_600A
%PM6250.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6250
%PM5000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_5000
%PM5000.DeviceDesc% = pmInstall, USB\VID_1204&PID_9998

; -----------------------------------------------------------------------
[pmInstall]
Include   = input.inf
Needs     = HID_Inst.NT
Copyfiles = pmInstall.CopyFiles
AddReg    = pmInstall.AddReg

[pmInstall.CopyFiles]
%PENMOUNT.SERVICE.NAME%.sys

[pmInstall.AddReg]

; -----------------------------------------------------------------------
[pmInstall.HW]
AddReg = pmInstall.HW.AddReg

[pmInstall.HW.AddReg]
HKR,,"LowerFilters"      ,0x00010000,%PENMOUNT.SERVICE.NAME%
HKR,,"NoOutOfRange"      ,0x00010001,1

; -----------------------------------------------------------------------
[pmInstall.CoInstallers]
CopyFiles = pmInstall.CoInstallers.CopyFiles
AddReg    = pmInstall.CoInstallers.AddReg
 
[pmInstall.CoInstallers.CopyFiles]
%PENMOUNT.FILE.CONINSTLR%
 
[pmInstall.CoInstallers.AddReg]
HKR,,"CoInstallers32",0x00010000,%PENMOUNT.FILE.CONINSTLR%",CoInstlrProc"
; -----------------------------------------------------------------------
[pmInstall.Interfaces]
AddInterface=%PENMOUNT.GUID%,,pmInstall.Interfaces.AddInterface

[pmInstall.Interfaces.AddInterface]
AddReg  = pmInstall.Interfaces.AddReg

[pmInstall.Interfaces.AddReg]
; -----------------------------------------------------------------------
[pmInstall.Services]
Include    = input.inf
Needs      = HID_Inst.NT.Services
AddService = %PENMOUNT.SERVICE.NAME%,,pmInstall.Services.Install,pmInstall.Services.EventLog

[pmInstall.Services.Install]
ServiceType    = 1
StartType      = 3
ErrorControl   = 0
ServiceBinary  = %12%\%PENMOUNT.SERVICE.NAME%.sys
LoadOrderGroup = extended base
AddReg         = pmInstall.Services.Install.AddReg

[pmInstall.Services.Install.AddReg]

[pmInstall.Services.EventLog]
AddReg = pmInstall.Services.EventLog.AddReg

[pmInstall.Services.EventLog.AddReg]
HKR,,EventMessageFile,0x00020000,%11%"\IoLogMsg.dll;"%12%\%PENMOUNT.SERVICE.NAME%.sys
HKR,,TypesSupported  ,0x00010001,7

; -----------------------------------------------------------------------
[Strings]
PENMOUNT.DISK               ="PenMount HID USB Device Driver Package"
PENMOUNT.MFG                ="PenMount Touch Solutions"
PM3000.DeviceDesc           ="PenMount P1 USB"
PM6000.DeviceDesc           ="PenMount 6000 USB"
PM6250.DeviceDesc           ="PenMount M1 USB"
PM5000.DeviceDesc           ="PenMount 5000 USB"
PENMOUNT.SERVICE.NAME       ="pmhidusb"
PENMOUNT.SERVICE.DESC       ="PenMount HID USB Device Filter Driver"
PENMOUNT.FILE.CONINSTLR     ="pmCoInstlr.dll"
PENMOUNT.GUID               ="{2dec70a3-3f00-432e-84de-f2c95a62ce79}"