lovehunterboy
驱动小牛
驱动小牛
  • 注册日期2008-05-29
  • 最后登录2010-04-16
  • 粉丝2
  • 关注0
  • 积分67分
  • 威望463点
  • 贡献值1点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1085回复:1

IoRegisterFsRegistrationChange的notification routine的2个问题不确定。

楼主#
更多 发布于:2008-09-05 16:17
NTSTATUS  IoRegisterFsRegistrationChange(    IN PDRIVER_OBJECT  DriverObject,    IN PDRIVER_FS_NOTIFICATION  DriverNotificationRoutine    ); Parameters
DriverObject
Pointer to the driver object for the file system filter driver.
DriverNotificationRoutine
Address of the routine to call when a file system registers or unregisters itself. This routine is defined as follows:
VOID
(*PDRIVER_FS_NOTIFICATION) (
    IN struct _DEVICE_OBJECT *DeviceObject,
    IN BOOLEAN FsActive
    );  registers or unregisters
一、DriverNotificationRoutine函数参数:DeviceObject,是不是文件系统 registers or unregisters 时传来的文件系统驱动的设备对像?
二、DriverNotificationRoutine函数参数:FsActive,是不是判定文件系统是否被激活?
这两参数是怎么传来的,不知道理解对不,请大牛给指点一下!

michaelgz
论坛版主
论坛版主
  • 注册日期2005-01-26
  • 最后登录2012-10-22
  • 粉丝1
  • 关注1
  • 积分150分
  • 威望1524点
  • 贡献值1点
  • 好评度213点
  • 原创分0分
  • 专家分2分
沙发#
发布于:2008-09-05 22:17
DeviceObject - Pointer to the file system's device object.

FsActive - Boolean indicating whether the file system has registered (TRUE) or unregistered (FALSE) itself as an active file system.
游客

返回顶部