VirtualBox

Changeset 71796 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Apr 9, 2018 7:26:50 PM (7 years ago)
Author:
vboxsync
Message:

Guest Control/Main: GuestSessionTask::fileCopyFrom[Ex] are now using IGuestFile objects for also having proper locking and seeking support instead of just cat'ing data to the host. Also implemented the CopyFileFlags while I was at it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestSessionImplTasks.h

    r71657 r71796  
    7979    /** @name File handling primitives.
    8080     * @{ */
    81     int fileCopyFromEx(const Utf8Str &strSource, const Utf8Str &strDest, FileCopyFlag_T enmFileCopyFlags,
    82                        PRTFILE pFile, uint64_t cbOffset, uint64_t cbSize);
     81    int fileCopyFromEx(ComObjPtr<GuestFile> &srcFile, PRTFILE phDstFile, FileCopyFlag_T enmFileCopyFlags,
     82                       uint64_t cbOffset, uint64_t cbSize);
    8383    int fileCopyFrom(const Utf8Str &strSource, const Utf8Str &strDest, FileCopyFlag_T enmFileCopyFlags);
    8484    int fileCopyToEx(const Utf8Str &strSource, const Utf8Str &strDest, FileCopyFlag_T enmFileCopyFlags, PRTFILE pFile,
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