FSCTL_IS_VOLUME_MOUNTED

Hi!
I am having some trouble with some FSCTL_IS_VOLUME_MOUNTED requests that my FSD is receiveing.
In the NT Command window, when I try to change my current directroy to a subfolder under root, I get a FSCTL_IS_VOLUME_MOUNTED query - five times actually.
The Parameters.VerifyVolume.Vpb field in the current Irp stack is always NULL.
So I return STATUS_WRONG_VOLUME.
I never get to change my directroy. I guess it fails! :wink:
I have tried returning STATUS_SUCCESS. But nothing is different.
The FileObject (in the current IO_STACK_LOCATION ) has a valid vpb though (initialised by my fsd earlier). This Vpb’s RealDevice never has the DO_VERIFY_VOLUME flag set.
Can anyone tell me what is happening?
Manoj


Manoj Paul Joseph,
Master of Computer Applications (final year student),
School of Computer Science and Engineering,
Anna University,
Chennai (Madras),
India.



Download exciting Logos, Picture Messages & Ringtones for your mobile phone