;
; HpqKbFiltr.inf
;
; Installation inf for the HP Quick Launch Buttons keyboard filter.
;
; © Copyright 2001-2007 Hewlett-Packard Development Company, L.P.
;

[Version]
Signature="$Windows NT$"
Provider=%Company%
ClassGUID={4D36E96B-E325-11CE-BFC1-08002BE10318}
Class=Keyboard
CatalogFile=HpqKbFiltr.cat
DriverVer=06/18/2007,1.0.0.1

[DestinationDirs]
DefaultDestDir   = 12


;
; Source file information
;


[SourceDisksNames]
1 = %DiskId1%,,,

[SourceDisksFiles]
HpqKbFiltr.sys = 1,,
HpqKbFiltr64.sys = 1,,


;
; Driver information
;

[Manufacturer]
%Company%   = HP,NTx86,NTamd64

; For Win2K
[HP]
%HP% = HpqKbFiltr, *PNP0303

; For XP and above
[HP.NTx86]
%HP% = HpqKbFiltr.NTx86, *PNP0303

; For Vista 64-bit and above
[HP.NTamd64]
%HP% = HpqKbFiltr.NTamd64, *PNP0303


;
; General installation section
;

[HpqKbFiltr.NTx86]
; perform port related actions from keyboard.inf
Include=keyboard.inf
Needs=STANDARD_Inst
; Copy the driver over
CopyFiles=HpqKbFiltr.CopyFiles.NTx86

[HpqKbFiltr.NTamd64]
; perform port related actions from keyboard.inf
Include=keyboard.inf
Needs=STANDARD_Inst
; Copy the driver over
CopyFiles=HpqKbFiltr.CopyFiles.NTamd64


;
; File sections
;

[HpqKbFiltr.CopyFiles.NTx86]
HpqKbFiltr.sys

[HpqKbFiltr.CopyFiles.NTamd64]
HpqKbFiltr.sys, HpqKbFiltr64.sys


;
; Service Installation
;

[HpqKbFiltr.NTx86.Services]
AddService = HpqKbFiltr,  , HpqKbFiltr_Service_Inst
; Install the port driver and mouclass from keyboard.inf
Include=keyboard.inf
Needs=STANDARD_Inst.Services

[HpqKbFiltr.NTamd64.Services]
AddService = HpqKbFiltr,  , HpqKbFiltr_Service_Inst
; Install the port driver and mouclass from keyboard.inf
Include=keyboard.inf
Needs=STANDARD_Inst.Services

[HpqKbFiltr_Service_Inst]
DisplayName    = %HpqKbFiltr.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Keyboard Port
ServiceBinary  = %12%\HpqKbFiltr.sys
AddReg         = HpqKbFiltr.AddReg.NT


[HpqKbFiltr.NTx86.HW]
; Add the device upper filter
AddReg = HpqKbFiltr.NTx86.HW.AddReg
; run the directives need by the port driver
Include=keyboard.inf
Needs=STANDARD_Inst.HW

[HpqKbFiltr.NTamd64.HW]
; Add the device upper filter
AddReg = HpqKbFiltr.NTamd64.HW.AddReg
; run the directives need by the port driver
Include=keyboard.inf
Needs=STANDARD_Inst.HW

[HpqKbFiltr.NTx86.HW.AddReg]
HKR,,"UpperFilters",0x00010008,"HpqKbFiltr"

[HpqKbFiltr.NTamd64.HW.AddReg]
HKR,,"UpperFilters",0x00010008,"HpqKbFiltr"

[HpqKbFiltr.AddReg.NT]
HKLM,System\CurrentControlSet\Services\HpqKbFiltr\Parameters,MaxButtons,%REG_DWORD%,12
HKLM,System\CurrentControlSet\Services\HpqKbFiltr\Parameters,Buttons,%REG_BINARY%,\
01,e0,00,00,31,01,00,00, 20,e0,00,00,ea,03,00,00, 2e,e0,00,00,e9,03,00,00,\
30,e0,00,00,e8,03,00,00, 23,e0,00,00,f5,01,00,00, 1f,e0,00,00,f6,01,00,00,\
1a,e0,00,00,91,01,00,00, 1e,e0,00,00,92,01,00,00, 13,e0,00,00,f7,01,00,00,\
14,e0,00,00,f8,01,00,00, 15,e0,00,00,f9,01,00,00, 1b,e0,00,00,fa,01,00,00


;
;--- HpqKbFiltr Coinstaller installation ------
;

[DestinationDirs]
kbfiltr_CoInstaller_CopyFiles = 11

[HpqKbFiltr.NTx86.CoInstallers]
AddReg=kbfiltr_CoInstaller_AddReg
CopyFiles=kbfiltr_CoInstaller_CopyFiles

[HpqKbFiltr.NTamd64.CoInstallers]
AddReg=kbfiltr_CoInstaller_AddReg
CopyFiles=kbfiltr_CoInstaller_CopyFiles.NTamd64

[kbfiltr_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01005.dll,WdfCoInstaller"

[kbfiltr_CoInstaller_CopyFiles]
wdfcoinstaller01005.dll

[kbfiltr_CoInstaller_CopyFiles.NTamd64]
wdfcoinstaller01005.dll, wdfcoinstaller0100564.dll

[SourceDisksFiles]
wdfcoinstaller01005.dll=1 ; make sure the number matches with SourceDisksNames

[HpqKbFiltr.NTx86.Wdf]
KmdfService = HpqKbFiltr, kbfiltr_wdfsect
[kbfiltr_wdfsect]
KmdfLibraryVersion = 1.5


[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 = "HpqKbFilter Driver Disk #1"
HP  = "Standard 101/102-Key or Microsoft Natural PS/2 Keyboard with HP QLB"
HpqKbFiltr.SvcDesc="HpqKbFilter Driver"
Company = "Hewlett-Packard Development Company, L.P."


