How to get the Mount Point of a Volume

I have this problem,

diskdrv->volume drv -> {my vol filter driver} -> …

I have the device name of the partition ( Device\HardDiskVolume1 ) in my
driver. I want to get mount point (C:\ or ??\Volume{GUID}) for the
corresponding partition? is there any way to get this info?

Thanx in advance

Avi

If you are integrated with the Mount Manager then you can query it for
the mount point. This is well documented.

Pete

Peter Scott
xxxxx@KernelDrivers.com
www.KernelDrivers.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Avinash Kumar
Sent: Thursday, January 30, 2003 6:10 PM
To: NT Developers Interest List
Subject: [ntdev] How to get the Mount Point of a Volume

I have this problem,

diskdrv->volume drv -> {my vol filter driver} -> …

I have the device name of the partition ( Device\HardDiskVolume1 ) in my
driver. I want to get mount point (C:\ or ??\Volume{GUID}) for the
corresponding partition? is there any way to get this info?

Thanx in advance

Avi


You are currently subscribed to ntdev as: xxxxx@kerneldrivers.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Something like a week ago I’ve published here a source code how to get
this information from MountMgr. All you need to do is to convert Win32
user mode calls to NT kernel API. Sequence of actions is the same.

Anton Kolomyeytsev

I have this problem,

diskdrv->volume drv -> {my vol filter driver} -> …

I have the device name of the partition ( Device\HardDiskVolume1 ) in my
driver. I want to get mount point (C:\ or ??\Volume{GUID}) for the
corresponding partition? is there any way to get this info?

Thanx in advance

Avi