Hi,
I am writing an FSFD and I wonder… how can I resolve the drive letter of a certain device according to it’s DeviceObject? am I in the right direction? are there any other ways to resolve the Drive letter of a certain driver?
Nadav.
Do You Yahoo!?
Yahoo! Small Business - Try our new Resources site!
Hello Nadav,
There is a function called IoVolumeDeviceToDosName (for XP and above, Rtl
version for NT/2K) that gives dos paths. IIRC this does not work for mount
points/Network drives. BTW why do you require drive letters at FSFD level?
You can always use raw device names to interact with volumes.
-Kiran
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nadav
Sent: Monday, May 30, 2005 8:19 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FSFD Device drive letter
Hi,
I am writing an FSFD and I wonder… how can I resolve the drive letter of a
certain device according to it’s DeviceObject? am I in the right direction?
are there any other ways to resolve the Drive letter of a certain driver?
Nadav.
Do You Yahoo!?
Yahoo! Small Business - Try
http:> our new Resources site! — Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17 You are currently subscribed to
ntfsd as: xxxxx@calsoftinc.com To unsubscribe send a blank email to
xxxxx@lists.osr.com</http:>
Hi Kiran,
Thanks for your responce, it is very helpful, I need the drive letter because I am reporting the file being accessed to the application layer and I would rather ‘give’ the application layer the fully qualified file path then require usermode to call QueryDosDevice…
Will this return the drive letter of a pluggable USB drive?
Kiran Joshi wrote:
Hello Nadav,
There is a function called IoVolumeDeviceToDosName (for XP and above, Rtl version for NT/2K) that gives dos paths. IIRC this does not work for mount points/Network drives. BTW why do you require drive letters at FSFD level? You can always use raw device names to interact with volumes.
-Kiran
---------------------------------
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Nadav
Sent: Monday, May 30, 2005 8:19 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FSFD Device drive letter
Hi,
I am writing an FSFD and I wonder… how can I resolve the drive letter of a certain device according to it’s DeviceObject? am I in the right direction? are there any other ways to resolve the Drive letter of a certain driver?
Nadav.
---------------------------------
Do You Yahoo!?
Yahoo! Small Business - Try our new Resources site! — Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17 You are currently subscribed to ntfsd as: xxxxx@calsoftinc.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: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
---------------------------------
Do You Yahoo!?
Yahoo! Small Business - Try our new Resources site!
>Will this return the drive letter of a pluggable USB drive?
Yes