Find out Attached Volume List

Hi all,

I m writing minifilter driver that start at boot time , and I attached volume at Driver Entry and PNP Callback Operation , all volumes attached successfully, but later I want to get GUID llist of all attached volumes.

Let me know which API to get List of all attached Volume.

Thanks

You should walk through all Flt- functions in WDK and see if there’s a such
function (surprisingly there’s bunch of FltEnumerate- functions).

FltEnumerateVolumes - enums all volumes in system and you should query for
volume’s context to see if you really attached this volume

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Friday, May 06, 2011 11:46 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Find out Attached Volume List

Hi all,

I m writing minifilter driver that start at boot time , and I attached
volume at Driver Entry and PNP Callback Operation , all volumes attached
successfully, but later I want to get GUID llist of all attached volumes.

Let me know which API to get List of all attached Volume.

Thanks


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars 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