FastIoDetachDevice was't called when user detach USB Device from System

Hi all!

My FSFilter is based on hooking drive approach of Filemon.Either of
DeviceType and Characteristics of Filter DeviceObject are set to those of
Volume DeviceObject to which they are attaching.
The FSFilter is started manually. When user detachs USB disk that
previously pluged into system before the FSFilter started,
FastIoDetachDevice was’t called. What 's wrong?

Thank!

LiaoWei

Ask Wininternals where you licensed the source for Filemon. If you are
still using the 2001 version of Filemon, you are violating their copyrights
and will probably have your product confiscated by customs if they decide to
file a complaint. That version had many bugs and was not written for XP
SP2. I have heard that recent versions have altered several basic things to
make it more compatible. It also allows itself to be removed from the
filesystem stack which is not something that should be done on anything
except a test system.

“LiaoWei” wrote in message news:xxxxx@ntfsd…
> Hi all!
>
> My FSFilter is based on hooking drive approach of Filemon.Either of
> DeviceType and Characteristics of Filter DeviceObject are set to those of
> Volume DeviceObject to which they are attaching.
> The FSFilter is started manually. When user detachs USB disk that
> previously pluged into system before the FSFilter started,
> FastIoDetachDevice was’t called. What 's wrong?
>
> Thank!
>
>
> LiaoWei
>
>