Is it possible to mount a Drive with mini-filter?

Hi,

I’m implementing a simple mini-filter which is suppose to intercept the
read and write operations, I was wondering if anybody could help me with
following two questions:

  1. Is it possible to intercept and respond to “dir” commands? From my
    understanding so far IRP_MJ_DIRECTORY_CONTROL should let me to do so.

  2. Is it possible to mount the directory controlled by the mini-filter?
    e.g. mount it as drive E:\

Thanks,
Armin

> 1) Is it possible to intercept and respond to “dir” commands? From my

understanding so far IRP_MJ_DIRECTORY_CONTROL should let me to do so.

Yes.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

>2) Is it possible to mount the directory controlled by the mini-filter? e.g. mount it as drive E:\
“subst” is your friend :slight_smile: