Hi guys,
I’m developing a kind of virtual file system driver and I faced a
problem with getting media eject notifications. Earlier I thought that
a file system driver receives notifications thru FSCTL_XXX mechanism,
but my driver don’t receive an FSCTL_DISMOUNT_VOLUME code at all, also
in response to an FSCTL_IS_VOLUME_MOUNTED code a lower (native) file
system driver sometimes returns STATUS_SUCCESS, but sometimes (very
rarely) returns STATUS_NO_MEDIA_IN_DEVICE. I’m really stuck.
Thanks beforehand, any suggestions will be highly appreciated.
With best regards,
Konstantin Manurin
System Programmer
mailto:xxxxx@gmail.com