Jump-start your project by learning from devs who
write Windows drivers and file systems every day.
Take an OSR seminar!

OSR is Hiring! Click here to find out more.

Upcoming OSR Seminars:
Kernel Debugging & Crash Analysis Lab, Dulles/Sterling, VA 24-28 March, 2014
Writing WDF Drivers for Windows Lab, Palo Alto, CA 28 April-2 May, 2014
Advanced WDF Driver Lab, Palo Alto, CA 5-8 May, 2014
Developing File Systems for Windows, Boston/Waltham, MA 13-16 May, 2014
Windows Internals & Software Drivers Lab, Dulles/Sterling, VA, CA 23-27 June, 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
Re: 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
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...>
  Message 4 of 5  
03 Jun 03 01:43
ntfsd member 11187
xxxxxx@indiatimes.com
Join Date:
Posts To This List: 8
RE: 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
RE: 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 03:01.


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