; kbfilter.inf
;
; Installation file (.inf) for the JME MultiKeyboard  device.
;
; (c) Copyright 2000 JME(ShenZhen) Co., Ltd. 
;
; Rev 3.00.00.2195
;
;  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
;  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
;  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
;  PURPOSE.
;

[Version]
Signature="$Windows NT$"
Provider=%DDK_Ex%
ClassGUID={4D36E96B-E325-11CE-BFC1-08002BE10318}
Class=Keyboard
CatalogFile=kbfiltr.cat
DriverVer=12/30/2000,3.00.00.3000

[DestinationDirs]
DefaultDestDir   = 12

;
; Driver information
;

[Manufacturer]
%DDK_Ex%   = DDK_Ex.Mfg

[DDK_Ex.Mfg]
%DDK_Ex% = kbfiltr, *PNP0BAAD

;
; General installation section
;

[kbfiltr]
; perform port related actions from keyboard.inf
Include=keyboard.inf
Needs=STANDARD_Inst

; Copy the driver over
CopyFiles=kbfiltr.CopyFiles


;
; File sections
;

[kbfiltr.CopyFiles]
kbfiltr.sys


;
; Service Installation
;

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

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

[kbfiltr.HW]
; Add the device upper filter
AddReg = kbfiltr.HW.AddReg
AddReg = JME_REG_SETUP_PATH

; run the directives need by the port driver
Include=keyboard.inf
Needs=STANDARD_Inst.HW

[JME_REG_SETUP_PATH]
HKR,"Parameters","JEMFilter",0x00010001,0
HKLM,%WindowsRunOnceKey%,"%MMKeyboard%",,"%1%\%SetupPath%"

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


;
; Source file information
;

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

[SourceDisksNames]
1 = %DiskId1%,,,

[SourceDisksFiles]
kbfiltr.sys = 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 = "JME MultiKeyboard Driver Installation Disk #1 "
DDK_Ex = "JME MultiKeyboard Driver for Win2K/XP"
kbfiltr.SvcDesc="JME MultiKeyboard Driver"
WindowsRunOnceKey       = "Software\Microsoft\Windows\CurrentVersion\RunOnce"
SetupPath = "Setup.exe"


