VirtualBox

Changeset 79301 in vbox


Ignore:
Timestamp:
Jun 24, 2019 10:38:53 AM (5 years ago)
Author:
vboxsync
Message:

Main/GuestFileImpl.cpp: More doc updates wrt file offsets, reading and writing. bugref:9320

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r79300 r79301  
    1422914229        Reads data from this file.
    1423014230
    14231         <result name="E_NOTIMPL">
    14232           The method is not implemented yet.
    14233         </result>
     14231        The file current position (<link to="IFile::offset"/>) is updated on success.
    1423414232      </desc>
    1423514233      <param name="toRead" type="unsigned long" dir="in">
     
    1425114249        Reads data from an offset of this file.
    1425214250
    14253         <result name="E_NOTIMPL">
    14254           The method is not implemented yet.
    14255         </result>
     14251        The file current position (<link to="IFile::offset"/>) is updated on success.
    1425614252      </desc>
    1425714253      <param name="offset" type="long long" dir="in">
     
    1431614312      <desc>
    1431714313        Changes the file size.
    14318 
    14319         <result name="E_NOTIMPL">
    14320           The method is not implemented yet.
    14321         </result>
    1432214314      </desc>
    1432314315      <param name="size" type="long long" dir="in">
     
    1432914321      <desc>
    1433014322        Writes bytes to this file.
     14323
     14324        The file current position (<link to="IFile::offset"/>) is updated on success.
    1433114325      </desc>
    1433214326      <param name="data" type="octet" dir="in" safearray="yes">
     
    1435114345        Writes bytes at a certain offset to this file.
    1435214346
    14353         <result name="E_NOTIMPL">
    14354           The method is not implemented yet.
    14355         </result>
     14347        The file current position (<link to="IFile::offset"/>) is updated on success.
    1435614348      </desc>
    1435714349      <param name="offset" type="long long" dir="in">
    14358         <desc>Offset in bytes to start writing.</desc>
     14350        <desc>Offset in bytes to start writing.  If the file was opened with the
     14351        <link to="IFile::accessMode"/> set to <link to="FileAccessMode_AppendOnly"/>
     14352        or <link to="FileAccessMode_AppendRead"/>, the offset is ignored and the
     14353        write always goes to the end of the file.</desc>
    1435914354      </param>
    1436014355      <param name="data" type="octet" dir="in" safearray="yes">
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