I am trying to write minimal inf file for keyboard driver. Ctrl2Cap driver from sysinternals.com comes with installation program which writes driver sys file to system32\drivers directory and adds the following Registry entries:
HKLM\SYSTEM\CurrentControlSet\Services\Ctrl2cap
ErrorControl 1
Start 3
Type 1
HKLM\SYSTEM\CurrentControlSet\Control\Class{4D36E96B-E325-11CE-BFC1-08002BE10318}
UpperFilters kbdclass ctrl2cap (ctrl3cap is added)
I want to write inf file which makes the same. This is what I have now:
;-----------------------
[Version]
Signature=$CHICAGO$
Class=Unknown
Provider=%PROVIDER%
[Manufacturer]
%MFGNAME%=DeviceList
[DestinationDirs]
DefaultDestDir=10,System32\Drivers
[SourceDisksFiles]
ctrl2cap.sys=1,
[SourceDisksNames]
1=%INSTDISK%,
[DeviceList]
%DESCRIPTION%=DriverInstall,
[DriverInstall.ntx86]
CopyFiles=DriverCopyFiles
[DriverCopyFiles]
ctrl2cap.sys,2
[DriverInstall.ntx86.Services]
AddService=ctrl2cap,0,DriverService
[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\ctrl2cap.sys
[Strings]
PROVIDER=“sysinternals.com”
MFGNAME=“sysinternals”
INSTDISK=“Ctrl2Cap Installation Disc”
DESCRIPTION=“Ctrl2Cap keyboard filter driver”
;----------------------
Trying to install this file I get “Incorrect parameter” error. What is wrong here? Is there some inf file verifier program which gives more information?
What entries should be added to this file to declare it as keyboard UpperFilter?
Thanks.
Do you Yahoo!?
Discover all that’s new in My Yahoo!