RE: Is there a simple way to retrieve a DOS path like C:\dir1\file1 usin

Shangwu,

I would recommend you to use MmGetSystemRoutineAddress. The platform is not
necessarily constant, so IMHO is better to check whether
IoVolumeDeviceToDosName is present, and to use RtlVolumeDeviceToDosName
otherwise.

Anyway I prefer to use Volume GUID names and translate the path to Win32 in
user mode, as there are volumes without a DOS drive assigned.

Regards,
mK

-----Mensaje original-----
De: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] En nombre de Shangwu
Enviado el: miércoles, 04 de mayo de 2005 21:18
Para: Windows File Systems Devs Interest List
Asunto: [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@pandasoftware.es
To unsubscribe send a blank email to xxxxx@lists.osr.com


Express yourself instantly with MSN Messenger! Download today it’s FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/