阅读:4084回复:1
filter driver 安装问题
我按照WIXP DDK 的Kbfilter为基础开发了一个filter驱动程序。照抄了kbfiltr 的inf files.
To install this filter, follow these steps: Open the Device Manager. Open the Properties of the PS/2 keyboard installed on the system. Click the Driver tab, and then click Update Driver. Follow the wizard\'s prompts, and when prompted, select the Display a list of the known drivers option, and then click Next. Click Have Disk and point to the location of the .inf file. Proceed through the rest of the install. You will need to reboot the machine if you are filtering a PS/2 device. 按照上面DDK kbfilter安装指示可以安装。但是我想用程序自动安装。当我用DDK例子中devcon 或install安装。 install kbfiltr.inf PNP0303 devcon install kbfiltr.inf PNP0303 返回no more device avaiable 我的问题是 1。这种安装方法可不可行? 2。 install <inf_file> <Hardware_ID)> 中hardwareID 到底是什么,与inf文件中的 Hardware_ID有什么关系 Thanks a lot aaaware [编辑 - 3/5/05 by littlefish2000] |
|
沙发#
发布于:2005-03-05 08:58
1、直接在SYSTEM\\CurrentControlSet\\Control\\Class\\{4D36E96B-E325-11CE-BFC1-08002BE10318}下的UpperFilters中增加kbdfilter(以前是kbdclass)注意是增加,不是替换,
2、然后使用注册表函数,在SYSTEM\\CurrentControlSet\\Services下创建kbdfilter服务,并写好相应值。 3、重新启动就OK 我按照WIXP DDK 的Kbfilter为基础开发了一个filter驱动程序。照抄了kbfiltr 的inf files. |
|
|