Hello,
After calling the FltGetFileNameInformation() in the
pre-create callback routine , i got the full path name - like
Ex: \Device\HarddiskVolume1\Documents and Settings\Test Results.txt
How can i convert the \Device\HarddiskVolume1 to dos name as
“C:\Documents and Settings\Test Results.txt” ? ( Any direct function
?)
I tired the following
-
FltGetDiskDeviceObject(FltObjects->Volume,&DiskDeviceObject)
-
IoVolumeDeviceToDosName(DiskDeviceObject,&DosName)
-
Finally i append the file object into the DosName & got the result as
( DosName + FileObject )
C:\Documents and Settings\Test Results.txt
Can anyone tell me other smart way for doing this ?
Thanks,
SivaRaja
You did it correctly.
Ken
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of SivaRaja
Sent: Monday, July 11, 2005 7:24 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Converting to Dos Name ?
Hello,
After calling the FltGetFileNameInformation() in the
pre-create callback routine , i got the full path name - like
Ex: \Device\HarddiskVolume1\Documents and Settings\Test Results.txt
How can i convert the \Device\HarddiskVolume1 to dos name as
“C:\Documents and Settings\Test Results.txt” ? ( Any direct function
?)
I tired the following
-
FltGetDiskDeviceObject(FltObjects->Volume,&DiskDeviceObject)
-
IoVolumeDeviceToDosName(DiskDeviceObject,&DosName)
-
Finally i append the file object into the DosName & got the result as
( DosName + FileObject )
C:\Documents and Settings\Test Results.txt
Can anyone tell me other smart way for doing this ?
Thanks,
SivaRaja
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com