阅读:1628回复:7
在filemon里我调用了IoRegisterFsRegistrationChange()函数成功,但是:当系统中有任何文件系统被激活或者是被注销的时候,(比如说:插入了一个光盘),我注册过的回调函数
各位大虾帮帮忙吧~~~
在filemon里我调用了IoRegisterFsRegistrationChange()函数成功,但是:当系统中有任何文件系统被激活或者是被注销的时候,(比如说:插入了一个光盘),我注册过的回调函数没有被调用啊! |
|
总版主
|
沙发#
发布于:2004-11-02 13:11
插入光盘不会有文件系统被激活.光盘使用cdfs,在系统启动
的初期就被激活了.插入光盘只是产生MOUNT,而不是激活一种 文件系统. |
板凳#
发布于:2004-11-02 13:47
在Major Function Code为IRP_MJ_FILE_SYSTEM_CONTROL时候也没有反应阿?
根本就没有执行这个地方啊? |
|
地板#
发布于:2004-11-04 15:33
插入光盘应该处理别的,这个恐怕不可以拦到哦
|
|
|
地下室#
发布于:2004-11-04 15:53
做CDFS的过滤驱动看看.
|
|
|
5楼#
发布于:2004-11-04 16:28
ddk上面说了阿,你看看下面的:
IoRegisterFsRegistrationChange registers a file system filter driver's notification routine to be called whenever a file system calls IoRegisterFileSystem or IoUnregisterFileSystem, and increments the reference count on the filter driver's driver object. 插入光盘怎么会call IoRegisterFileSystem or IoUnregisterFileSystem呢?? |
|
6楼#
发布于:2004-11-05 14:21
各位大虾帮帮忙吧~~~ 俺是你哥! 给哥分. |
|
|
7楼#
发布于:2004-11-05 14:23
[quote][quote][quote][quote][quote][quote][quote][quote][quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote][/quote] |
|
|