About FSCTL_INVALIDATE_VOLUMES

I work with the file system driver and after processing the PnP request
IRP_MN_QUERY_REMOVE_DEVICE which completes with STATUS_SUCCESS - I receive
a FSCTL_INVALIDATE_VOLUMES request, in Handle parameter, as supposed all file
systems, must be contained FILE_OBJECT which points to class device object,
but instead this FILE_OBJECT points to upper level filter driver.

The routine, which process this request, by default must create new VPB
in class device object, rescan all VCB related to this class device object,
mark all Fcb as bad and try to free VPB structure, which was linked to this
class device object.

Why don’t I receive class device object? Has someone else had it before and knows
the reason of this?


Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/