Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Writing WDF Drivers: Core Concepts Lab, Boston/Waltham, MA 22-26 September, 2014
Windows Internals & Software Drivers Lab, Dulles/Sterling, VA, 20-24 October, 2014
Developing File Systems for Windows, Seattle, WA 4-7 November, 2014


Go Back   OSR Online Lists > ntfsd
Welcome, Guest
You must login to post to this list
  Message 1 of 5  
02 Jun 03 06:34
ntfsd member 11187
xxxxxx@indiatimes.com
Join Date:
Posts To This List: 8
Getting Drive Letter from Device name

I have written file system filter driver based on sfilter. In the IRP_MN_MOUNT_VOLUME i get the device name in the form of "\Device\CdRom0". now i want to get the drive letter for this device. how do i go about. i tried ZwOpenSymbolicLinkObject and ZwQuerySymbolicLinkObject. But ZwQuerySymbolicLinkObject fails with error STATUS_OBJECT_TYPE_MISMATCH. Any help would be appreciated. Thanks....
  Message 2 of 5  
02 Jun 03 07:09
Swati Chawdhary
xxxxxx@divassoftware.com
Join Date: 20 Feb 2003
Posts To This List: 11
Getting Drive Letter from Device name

Check Out the Device Extention structure in FileSpy!
  Message 3 of 5  
02 Jun 03 13:39
ntfsd member 8262
xxxxxx@nryan.com
Join Date:
Posts To This List: 396
Getting Drive Letter from Device name

Rtl/IoVolumeDeviceToDosName on the storage device object. - Nick Ryan > -----Original Message----- > From: xxxxx@lists.osr.com > [mailto:xxxxx@lists.osr.com] On Behalf Of > xxxxx@indiatimes.com > Sent: Monday, June 02, 2003 3:34 AM > To: File Systems Developers > Subject: [ntfsd] Getting Drive Letter from Device name > > > I have written file system filter driver based on sfilter. <...excess quoted lines suppressed...>
  Message 4 of 5  
03 Jun 03 01:43
ntfsd member 11187
xxxxxx@indiatimes.com
Join Date:
Posts To This List: 8
Getting Drive Letter from Device name

Thanks a lot.... it did work .. :) > Rtl/IoVolumeDeviceToDosName on the storage device object. > > - Nick Ryan > > > -----Original Message----- > > From: xxxxx@lists.osr.com > > [mailto:xxxxx@lists.osr.com] On Behalf Of > > xxxxx@indiatimes.com > > Sent: Monday, June 02, 2003 3:34 AM > > To: File Systems Developers <...excess quoted lines suppressed...>
  Message 5 of 5  
03 Jun 03 23:33
ntfsd member 1814
xxxxxx@pmail.ntu.edu.sg
Join Date:
Posts To This List: 239
Getting Drive Letter from Device name

hi, i used this function in create and it works most of the time. however, the function seems to hang when i plug in a usb harddisk. when is the safe time to use this function? Ampsi ----- Original Message ----- From: "Nick Ryan" <xxxxx@nryan.com> To: "File Systems Developers" <xxxxx@lists.osr.com> Sent: Tuesday, June 03, 2003 01:40 Subject: [ntfsd] RE: Getting Drive Letter from Device name Rtl/IoVolumeDeviceToDosName on the storage device object. - Nick Ryan > -----Original Message----- > From: xxxxx@lists.osr.com > [mailto:xxxxx@lists.osr.com] On Behalf Of > xxxxx@indiatimes.com > Sent: Monday, June 02, 2003 3:34 AM > To: File Systems Developers > Subject: [ntfsd] Getting Drive Letter from Device name > > > I have written file system filter driver based on sfilter. <...excess quoted lines suppressed...> --- You are currently subscribed to ntfsd as: xxxxx@pmail.ntu.edu.sg To unsubscribe send a blank email to xxxxx@lists.osr.com
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntfsd list to be able to post.

All times are GMT -5. The time now is 23:28.


Copyright ©2014, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license