Changeset 80585 in vbox for trunk/src/VBox/Runtime/r3/fileio.cpp
- Timestamp:
- Sep 4, 2019 2:05:50 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 133105
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/fileio.cpp
r77825 r80585 227 227 * -1 on failure, the file position is undefined. 228 228 * @param File Handle to the file. 229 * @see RTFile GetMaxSizeEx.229 * @see RTFileQueryMaxSizeEx. 230 230 */ 231 231 RTR3DECL(RTFOFF) RTFileGetMaxSize(RTFILE File) 232 232 { 233 233 RTFOFF cbMax; 234 int rc = RTFile GetMaxSizeEx(File, &cbMax);234 int rc = RTFileQueryMaxSizeEx(File, &cbMax); 235 235 return RT_SUCCESS(rc) ? cbMax : -1; 236 236 } … … 317 317 */ 318 318 uint64_t cbFile1; 319 int rc = RTFile GetSize(hFile1, &cbFile1);319 int rc = RTFileQuerySize(hFile1, &cbFile1); 320 320 if (RT_FAILURE(rc)) 321 321 return rc; 322 322 323 323 uint64_t cbFile2; 324 rc = RTFile GetSize(hFile1, &cbFile2);324 rc = RTFileQuerySize(hFile1, &cbFile2); 325 325 if (RT_FAILURE(rc)) 326 326 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.