Hi all!
A while ago I already asked that question, but didn’t get any reply. May be
this time I will be more lucky?
Here is the problem:
In my driver I create a device of type FILE_DEVICE_DISK /
FILE_REMOVABLE_MEDIA, create a symb.
link to that device and expect to see IRP_MN_MOUNT_VOLUME coming to my FS
recognizer device
registered using IoRegisterFileSystem in DriverEntry routine (driver is
loaded at the System time).
Creating a disk device is prformed on request from the user application
(i.e. after a user got logged on).
Now, if the logged user is an administrator everything works as expected.
But as soon as I logoff and
relogon as an ordinary user (from the Users group), my FS recognizer doesn’t
see mount IRP! I don’t
restart the computer, so FS recognizer is still there and
registered/initialized properly, I assume.
The disk device is created, because I see it in the Explorer, so app <->
driver interconnection works.
Property page for that drive shows me file system type as Unknown. Debugging
the system I noticed
that IRP_MN_MOUNT_VOLUME in deed bypasses my FS recognizer device. I
observed that on
all SPs (3+) and (to my surprise) on W2K.
Anything that sounds familiar to anyone?
TIA,
Vladimir