: [ntfsd] How to get driver letter from \Device\HarddiskVolume1

But how to use it?
status = IoVolumeDeviceToDosName(
irpSp->FileObject->DeviceObject,dosName);
DBGD1( "IoVolumeDeviceToDosName return status
",status );
if (NT_SUCCESS( status ) )
{
DBGPUS( dosName );
ExFreePool( dosName );
}

It blue screen.

-----?ʼ?ԭ??-----
???: Prokash Sinha [mailto:xxxxx@garlic.com]
???ʱ??: 2004??7??7?? 12:03
?ռ???: Windows File Systems Devs Interest List
???: RE: [ntfsd] How to get driver letter from \Device\HarddiskVolume1

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


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

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