是否可以在硬件配置文件中自定义上部或下部过滤器?
要在特定类别的设备上设置筛选器驱动程序,您必须修改其 UpperFilters
或 LowerFilters
MULTI_SZ 注册表值。例如,要将上层过滤器附加到属于 USB 设备类的所有设备,您需要修改以下值(可能通过 DpInst 等):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}\UpperFilters
是否可以将此更改特定于硬件配置文件? --也就是说,仅在特定的硬件配置文件中附加过滤器驱动程序?
我的目标是,如果在开发过程中无意中引入了错误,导致过滤器驱动程序在启动时崩溃,则可以轻松启动机器而无需崩溃的驱动程序。 (安全模式也解决了这个问题,但需要更多时间才能启动。)
To set a filter driver on a specific class of devices, you have to modify its UpperFilters
or LowerFilters
MULTI_SZ registry value. For example, to attach an upper filter to all devices belonging to the USB device class, you'd modify the following value (probably through DpInst etc.):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}\UpperFilters
Is it possible to make this change specific to a Hardware Profile? --that is, to attach the filter driver only in a specific hardware profile?
My goal is that, in the event of a bug inadvertently introduced during development which causes the filter driver to crash on startup, it would be easy to boot the machine without the crashing driver. (Safe Mode also solves this, but takes a while more to boot up.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论