VirtualBox

Changeset 80585 in vbox for trunk/src/VBox/Storage/testcase


Ignore:
Timestamp:
Sep 4, 2019 2:05:50 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133105
Message:

Runtime: Some renaming to stay consistent (*Get* always returns what is asked for while *Query* returns a status code and where to store the value on success is given as a pointer)

  • RTVfsFileGetSize -> RTVfsFileQuerySize
  • RTFileQuerySize -> RTFileQuerySizeByPath
  • RTFileGetSize -> RTFileQuerySize
  • RTFileGetSizeMaxEx -> RTFileQuerySizeMaxEx
Location:
trunk/src/VBox/Storage/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Storage/testcase/VDIoBackend.cpp

    r80205 r80585  
    222222    }
    223223    else
    224         rc = RTFileGetSize(pIoStorage->u.hFile, pcbSize);
     224        rc = RTFileQuerySize(pIoStorage->u.hFile, pcbSize);
    225225
    226226    return rc;
  • TabularUnified trunk/src/VBox/Storage/testcase/tstVDIo.cpp

    r77232 r80585  
    16691669        if (RT_SUCCESS(rc))
    16701670        {
    1671             rc = RTFileGetSize(hFile, &cbPattern);
     1671            rc = RTFileQuerySize(hFile, &cbPattern);
    16721672            if (RT_SUCCESS(rc))
    16731673            {
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