VirtualBox

Changeset 69705 in vbox for trunk/include/iprt/nt


Ignore:
Timestamp:
Nov 15, 2017 4:42:59 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119080
Message:

IPRT: VFS and NT path handling fixes.

  • Rewrote RTDirQueryInfo for NT. When RTDirOpen* now opens directories, it will request read-attribute access in additions to listing.
  • Major adjustment of the VFS path parser. It now accepts both slashes and will deal differently with '..' in operations on directories.
  • Implemented native RTDirRelPathQueryInfo for NT.
  • NT directory object (NT namespace objects, not file system dirs) fixes for NT specific RTDirRel APIs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nt/nt.h

    r69691 r69705  
    320320 * @param   pszPath             The relative UTF-8 path.
    321321 * @param   enmAscent           How to handle ascent.
     322 * @param   fMustReturnAbsolute Must convert to an absolute path.  This
     323 *                              is necessary if the root dir is a NT directory
     324 *                              object (e.g. /Devices) since they cannot parse
     325 *                              relative paths it seems.
    322326 */
    323 RTDECL(int) RTNtPathRelativeFromUtf8(struct _UNICODE_STRING *pNtName, PHANDLE phRootDir,
    324                                      const char *pszPath, RTNTPATHRELATIVEASCENT enmAscent);
     327RTDECL(int) RTNtPathRelativeFromUtf8(struct _UNICODE_STRING *pNtName, PHANDLE phRootDir, const char *pszPath,
     328                                     RTNTPATHRELATIVEASCENT enmAscent, bool fMustReturnAbsolute);
    325329
    326330/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette