Function to check Volume Attached

Hi all,

I am writing a minifilter driver and attach all volumes in DriverEntry. I start a threard for different functionality and in that thread want to check whether Volume attached to Filter or not…

Is there any function? then let me know.

Thanks

In user mode you could use FilterVolumeInstanceFindFirst & friends. In
kernel mode you have FltGetVolumeInstanceFromName.

Thanks,
Alex.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Wednesday, March 24, 2010 10:49 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Function to check Volume Attached

Hi all,

I am writing a minifilter driver and attach all volumes in DriverEntry. I
start a threard for different functionality and in that thread want to check
whether Volume attached to Filter or not…

Is there any function? then let me know.

Thanks


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars (including our new fs
mini-filter seminar) visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer