VirtualBox

Changeset 80585 in vbox for trunk/src/VBox/Storage/VISO.cpp


Ignore:
Timestamp:
Sep 4, 2019 2:05:50 PM (5 years ago)
Author:
vboxsync
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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VISO.cpp

    r79965 r80585  
    344344                                        {
    345345                                            uint64_t cbImage;
    346                                             rc = RTVfsFileGetSize(hVfsFile, &cbImage);
     346                                            rc = RTVfsFileQuerySize(hVfsFile, &cbImage);
    347347                                            if (RT_SUCCESS(rc))
    348348                                            {
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