yxjoyce
驱动牛犊
驱动牛犊
  • 注册日期2002-04-15
  • 最后登录2003-04-23
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1173回复:2

filter driver 的安装问题

楼主#
更多 发布于:2002-05-24 11:11
i have written a filter driver,used as lowerfilter of disk.when i
installed the filter driver,i first add registry manually as follow:
1. add keyes under HKLM\\...\\Services\\\"myfilter\",such as,
  \"start\" ,\"ErrorContrl\",\"type\",\"ImagePath\" etc.
2. second, add \"myfilter\" as lowerfilters under
HKLM\\...\\Enum\\Ide\\disk...\\\"gendisk\"\\. here \"gendisk\" is one subkey of
disk...
but when i restarted,i found myfilter.sys wasn\'t be loaded into system.
and \"bluescreen\" appeared.

then i use the method provided by \"ddk\\src\\storage\\filters\\fpfilter\" as
followed,it can be loaded correctly.
1.from \"hardware wizzard\", install a device using \"myfilter\" as its
driver.
2. the same as method 1.

my question is:
why method 2 can success and if using method 1, is the registry key lost
somewhere?

thanks a lot for your help!!!

chen_cheng
驱动牛犊
驱动牛犊
  • 注册日期2002-05-24
  • 最后登录2002-05-24
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-05-24 11:24
Hi
  The method 2 \"ddk\\src\\storage\\filters\\fpfilter\" you successed  load your driver as a upper filter,not lower
one!
yxjoyce
驱动牛犊
驱动牛犊
  • 注册日期2002-04-15
  • 最后登录2003-04-23
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-05-27 09:26
它确实也可以作为lowerfilter,这个我已经试过了。
游客

返回顶部