zhangshengyu
驱动老牛
驱动老牛
  • 注册日期2003-10-03
  • 最后登录2016-07-26
  • 粉丝0
  • 关注0
  • 积分792分
  • 威望696点
  • 贡献值41点
  • 好评度499点
  • 原创分0分
  • 专家分0分
  • 社区居民
阅读:1473回复:4

FltRegisterFilter 怎么用?

楼主#
更多 发布于:2004-12-27 18:18
在微软的网站上找到的filter的文档上说的,那个函数在哪有定义?
---内核开发合作或提供基础技术服务QQ:22863668 ---
zhangshengyu
驱动老牛
驱动老牛
  • 注册日期2003-10-03
  • 最后登录2016-07-26
  • 粉丝0
  • 关注0
  • 积分792分
  • 威望696点
  • 贡献值41点
  • 好评度499点
  • 原创分0分
  • 专家分0分
  • 社区居民
沙发#
发布于:2005-03-15 08:59
这是微软最性的东东,新的过滤驱动
叫什么wfc
这些函数在
FltKernel.h定义
需要FltMgr.lib.

Mini file system filter drivers are kernel-mode drivers.  As such, they must export a function called DriverEntry(), which will be the first function invoked when the driver is loaded.  Most minifilters will call FltRegisterFilter() in their DriverEntry().  
FltRegisterFilter() takes as a parameter a FLT_REGISTRATION structure, which contains an unload routine, instance notification callbacks, a list of context callback function pointers and a list of file system operation callback pointers.  In the most common case, where the minifilter hooks just a few operations, this list can be very short.  
The minifilter also can specify additional flags for each operation that controls whether it receives the callbacks in all cases. For instance, if FLTFL_OPERATION_REGISTRATION_SKIP_PAGING_IO is supplied, the minifilter will not receive any paging I/O operations for that particular IRP major code.
Similarly, if FLTFL_OPERATION_REGISTRATION_SKIP_CACHED_IO is specified, only the non-cached I/O path will be seen for that operation (i.e., if it is supplied for IRP_MJ_READ, all cached read paths will be skipped by that minifilter).
 

找不到这些玩意,也不知道到底支持哪些系统

Quoting a previous post from Neal:

You can get the latest beta IFSKit (which also
supports filter manager)
from Microsoft\'s Betaplace site.

To do this register in the filter manager beta
Go to:  http://beta.microsoft.com
Using GuestID: Filtermgr

Once approved you can download the latest IFSkit which
contains this new
documentation.


---内核开发合作或提供基础技术服务QQ:22863668 ---
gongbin_net
驱动牛犊
驱动牛犊
  • 注册日期2003-06-18
  • 最后登录2005-06-07
  • 粉丝1
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2005-03-14 22:50
这是微软最性的东东,新的过滤驱动
叫什么wfc
这些函数在
FltKernel.h定义
需要FltMgr.lib.

Mini file system filter drivers are kernel-mode drivers.  As such, they must export a function called DriverEntry(), which will be the first function invoked when the driver is loaded.  Most minifilters will call FltRegisterFilter() in their DriverEntry().  
FltRegisterFilter() takes as a parameter a FLT_REGISTRATION structure, which contains an unload routine, instance notification callbacks, a list of context callback function pointers and a list of file system operation callback pointers.  In the most common case, where the minifilter hooks just a few operations, this list can be very short.  
The minifilter also can specify additional flags for each operation that controls whether it receives the callbacks in all cases. For instance, if FLTFL_OPERATION_REGISTRATION_SKIP_PAGING_IO is supplied, the minifilter will not receive any paging I/O operations for that particular IRP major code.
Similarly, if FLTFL_OPERATION_REGISTRATION_SKIP_CACHED_IO is specified, only the non-cached I/O path will be seen for that operation (i.e., if it is supplied for IRP_MJ_READ, all cached read paths will be skipped by that minifilter).
zhangshengyu
驱动老牛
驱动老牛
  • 注册日期2003-10-03
  • 最后登录2016-07-26
  • 粉丝0
  • 关注0
  • 积分792分
  • 威望696点
  • 贡献值41点
  • 好评度499点
  • 原创分0分
  • 专家分0分
  • 社区居民
地板#
发布于:2005-03-14 21:42
在最新的IFS里有,好象MS在LONGHORN里用的,不过据说OSR已经将其移植到2K下,据说可以统一处理FASTIO,IRP等,功能十分强大、

据OSR介绍这部分在windows xp ifx ddk sp2里有,但是到哪能搞到这玩意?
---内核开发合作或提供基础技术服务QQ:22863668 ---
wowocock
VIP专家组
VIP专家组
  • 注册日期2002-04-08
  • 最后登录2016-01-09
  • 粉丝16
  • 关注2
  • 积分601分
  • 威望1651点
  • 贡献值1点
  • 好评度1227点
  • 原创分1分
  • 专家分0分
地下室#
发布于:2004-12-27 20:09
在最新的IFS里有,好象MS在LONGHORN里用的,不过据说OSR已经将其移植到2K下,据说可以统一处理FASTIO,IRP等,功能十分强大、
花开了,然后又会凋零,星星是璀璨的,可那光芒也会消失。在这样 一瞬间,人降生了,笑者,哭着,战斗,伤害,喜悦,悲伤憎恶,爱。一切都只是刹那间的邂逅,而最后都要归入死亡的永眠
游客

返回顶部