How to get driver letter from \Device\HarddiskVolume1

A F.S. filter driver,In the IRP_CREATE routine,the file path is such as
\Device\HarddiskVolumeX\xxxx
How to translate it to C:\xxxx?

IoVolumeDeviceToDosName().

-pro

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of cnmmd
Sent: Tuesday, July 06, 2004 6:45 PM
To: Windows File Systems Devs Interest List
Subject: [Norton AntiSpam] [ntfsd] How to get driver letter from
\Device\HarddiskVolume1

A F.S. filter driver,In the IRP_CREATE routine,the file path is such as
\Device\HarddiskVolumeX\xxxx
How to translate it to C:\xxxx?


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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