VirtualBox

Changeset 70884 in vbox for trunk/src/VBox/Runtime/r3/nt


Ignore:
Timestamp:
Feb 6, 2018 4:26:08 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120710
Message:

IPRT: Added RTDIR_F_NO_FOLLOW (not implemented yet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/nt/direnum-r3-nt.cpp

    r70419 r70884  
    108108#endif
    109109    if (hRelativeDir == ~(uintptr_t)0 && pvNativeRelative == NULL)
     110    {
     111        AssertMsg(pDir->fFlags & RTDIR_F_NO_FOLLOW /* Add FILE_OPEN_REPARSE_POINT and see how that works out (it better!). Need fallbacks for pre Vista. */,
     112                  ("Implement RTDIR_F_NO_FOLLOW!\n"));
    110113        rc = RTNtPathOpenDir(pszPathBuf,
    111114                             FILE_LIST_DIRECTORY | FILE_READ_ATTRIBUTES | FILE_TRAVERSE | SYNCHRONIZE,
     
    120123#endif
    121124                             );
     125    }
    122126    else if (pvNativeRelative != NULL)
     127    {
     128        AssertMsg(pDir->fFlags & RTDIR_F_NO_FOLLOW /* Add FILE_OPEN_REPARSE_POINT and see how that works out (it better!). Need fallbacks for pre Vista. */,
     129                  ("Implement RTDIR_F_NO_FOLLOW!\n"));
    123130        rc = RTNtPathOpenDirEx((HANDLE)hRelativeDir,
    124131                               (struct _UNICODE_STRING *)pvNativeRelative,
     
    135142
    136143                               );
     144    }
    137145    else
    138146    {
Note: See TracChangeset for help on using the changeset viewer.

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