阅读:1085回复:1
IoRegisterFsRegistrationChange的notification routine的2个问题不确定。
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,是不是判定文件系统是否被激活? 这两参数是怎么传来的,不知道理解对不,请大牛给指点一下! |
|
沙发#
发布于: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. |
|