I couldn’t find a function in the filter manager to get a DOS drive name. If
I call RtlVolumeDeviceToDosName or IoVolumeDeviceToDosName, I need get the
device object of a volume. Although it seems not a problem to get the device
object based a volume name, the approach involves to check the platform
version in order to call the functions properly. If there is a direct and
simple way to get it, please provide the information.
Thanks in advance,
Shangwu
Use FltGetDiskDeviceObject() to get the Volume Device Object, then
RtlVolumeDeviceToDosName() to get the DOS name.
Ken
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Shangwu
Sent: Wednesday, May 04, 2005 3:18 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Is there a simple way to retrieve a DOS path like
C:\dir1\file1 using FltMgr?
I couldn’t find a function in the filter manager to get a DOS drive name. If
I call RtlVolumeDeviceToDosName or IoVolumeDeviceToDosName, I need get the
device object of a volume. Although it seems not a problem to get the device
object based a volume name, the approach involves to check the platform
version in order to call the functions properly. If there is a direct and
simple way to get it, please provide the information.
Thanks in advance,
Shangwu
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com