VirtualBox

Changeset 67221 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jun 1, 2017 9:44:24 PM (8 years ago)
Author:
vboxsync
Message:

IPRT: Adding RTVfsIoStrmGetOpenFlags, RTVfsFileGetOpenFlags, RTVfsCreateProcessForIoStream and RTVfsCreateProcessForFile.

Location:
trunk/src/VBox/Runtime
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r67186 r67221  
    613613        common/vfs/vfsmisc.cpp \
    614614        common/vfs/vfsmsg.cpp \
     615        common/vfs/vfsprogress.cpp \
    615616        common/vfs/vfsreadahead.cpp \
    616617        common/vfs/vfsstdfile.cpp \
  • trunk/src/VBox/Runtime/common/vfs/vfsbase.cpp

    r67189 r67221  
    30843084
    30853085
     3086RTDECL(uint64_t) RTVfsIoStrmGetOpenFlags(RTVFSIOSTREAM hVfsIos)
     3087{
     3088    RTVFSIOSTREAMINTERNAL *pThis = hVfsIos;
     3089    AssertPtrReturn(pThis, 0);
     3090    AssertReturn(pThis->uMagic == RTVFSIOSTREAM_MAGIC, 0);
     3091    return pThis->fFlags;
     3092}
    30863093
    30873094
     
    34053412    return rc;
    34063413}
     3414
     3415
     3416RTDECL(uint64_t) RTVfsFileGetOpenFlags(RTVFSFILE hVfsFile)
     3417{
     3418    RTVFSFILEINTERNAL *pThis = hVfsFile;
     3419    AssertPtrReturn(pThis, 0);
     3420    AssertReturn(pThis->uMagic == RTVFSFILE_MAGIC, 0);
     3421    return pThis->Stream.fFlags;
     3422}
     3423
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