Re: Re: NtCreateFile and STATUS_OBJECT_PATH_NOT_FOUND (0x0000003A)

"Craig Edwards" <[email protected]>
Newsgroups gmane.linux.ports.xbox.devel
Organization H.A. Enterprises Pty Ltd
Message-ID <[email protected]>
On Sun, 18 Jul 2004 23:36:18 -0700, Myria <[email protected]>  
wrote:
> They are only equivalent if the drive letter is currently mapped to that
> same place using IoCreateSymbolicLink().  By default, only D: is mapped
> (typically to either the CD-ROM drive or the directory containing the
> current XBE); the rest must be mapped by an XBE.  EvoX only has a drive  
> C: because it creates one pointing to partition 2.

Thanks very much for the detailed info.  Very informative... a quick  
followup, if I can.

What are the consequences of not mounting the drive via  
IoCreateSymbolicLink()?  Are there any technical implications of going  
through a mount/map vs accessing the device/partition directly?

The reason I ask is that I am writing an API that takes a filename of the  
form "C:\BLAH.TXT", and then my API calls the NtCreateFile APIs.  Given  
that I need to translate to either "\\??\\C:\\BLAH.TXT" or  
"\\Device\\Harddisk0\\Partition2\\BLAH.TXT", I was figuring I wouldn't  
bother mounting if I didn't need to.  Cheers...

--
Craig Edwards


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.