subject_25355.htm

来自「一些关于vc的问答」· HTM 代码 · 共 18 行

HTM
18
字号
<p>
序号:25355 发表者:CDMA2000 发表日期:2002-12-21 10:27:45
<br>主题:help!
<br>内容:As this driver is an UpperFilter driver that is attached to an existing Function driver the traditional method of using INF files doesn’t work. Some modifications in the registry have to be done to load the driver. <BR><BR>The key, both for Windows 98 and Windows 2000, is adding an UpperFilters value to the hardware registry key for the device. <BR><BR>One can easily add a filter to an existing WDM driver by adding the UpperFilters to the hardware key for the device. This is the key below HKLM\Enum, and it depends on the enumeration of the device (e.g., USB, PCI, etc.) and what the hardware ID of the device is. The value of the UpperFilters is the name of the filter driver to be installed. Copy the driver file to the System directory (\\Winnt\system32\drivers) and reboot the system. <BR><BR>帮忙翻译一下!<BR>告诉我这种技术怎么用!
<br><a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p>
<hr size=1>
<blockquote><p>
<font color=red>答案被接受</font><br>回复者:深四 回复日期:2002-12-21 15:01:48
<br>内容:这是一个上层过滤驱动程序,与现有的驱动绑定,inf里用upperfilter项来指定此上层过滤驱动,是不能工作的,改变之处在于 在注册表内装载此驱动,<BR>win98和win2000下,在硬件注册项内为此设备添加upperfilter变量,<BR>为现有的wdm驱动增加过滤功能是,在硬件注册项内为此设备添加upperfilter变量,<BR>关键字在 HKLM\Enum 下,依赖于设备的枚举类型,和此硬件设备的ID,<BR>此upperfilter所指的关键字的上层过滤驱动程序就好装好了,拷贝驱动文件到\\Winnt\system32\drivers 目录 并重新启动系统,
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>
<hr size=1>
<blockquote><p>
回复者:CDMA2000 回复日期:2002-12-23 09:38:15
<br>内容:我在注册表找不到HKLM\Enum啊<BR>有没有人能讲讲上层过滤驱动程序相关方面的东西,以及使用啊<BR>如何加载一个上层过滤驱动程序啊
<br>
<a href="javascript:history.go(-1)">返回上页</a><br><a href=http://www.copathway.com/cndevforum/>访问论坛</a></p></blockquote>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?