VirtualBox

Changeset 9134 in vbox for trunk


Ignore:
Timestamp:
May 26, 2008 5:28:57 PM (17 years ago)
Author:
vboxsync
Message:

Shared folders flag for appending data to a file. Windows addition only. Todo: Linux additions and IPRT support.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/shflsvc.h

    r8155 r9134  
    233233#define SHFL_CF_DIRECTORY             (0x00000004)
    234234
     235/** Append data to a file. */
     236#define SHFL_CF_APPEND                (0x00000008)
     237
    235238/** Open/create action to do if object exists
    236239 *  and if the object does not exists.
  • trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp

    r8155 r9134  
    603603        rc = VERR_INVALID_PARAMETER;
    604604        Log(("FLAG: SHFL_CF_ACT_MASK_IF_EXISTS - invalid parameter\n"));
     605    }
     606
     607    if (fShflFlags & SHFL_CF_APPEND)
     608    {
     609        Log(("FLAG: SHFL_CF_APPEND\n"));
     610        /** @todo fOpen |= RTFILE_O_APPEND; */
    605611    }
    606612
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