VirtualBox

Ignore:
Timestamp:
Jun 2, 2017 11:10:06 AM (8 years ago)
Author:
vboxsync
Message:

IPRT: vfsprogress.cpp: adjustments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/vfs/vfsprogress.cpp

    r67224 r67228  
    9393
    9494    int rc = pThis->pfnProgress(uPct, pThis->pvUser);
    95     if (!(pThis->fFlags & RTVFSPROGRESS_F_ALLOW_CANCEL))
     95    if (!(pThis->fFlags & RTVFSPROGRESS_F_CANCELABLE))
    9696        rc = VINF_SUCCESS;
    9797    else if (RT_FAILURE(rc) && RT_SUCCESS(pThis->rcCanceled))
     
    447447
    448448
    449 RTDECL(int) RTVfsIoStrmCreateProgress(RTVFSIOSTREAM hVfsIos, PFNRTPROGRESS pfnProgress, void *pvUser, uint32_t fFlags,
    450                                       uint64_t cbExpectedRead, uint64_t cbExpectedWritten, PRTVFSIOSTREAM phVfsIos)
     449RTDECL(int) RTVfsCreateProgressForIoStream(RTVFSIOSTREAM hVfsIos, PFNRTPROGRESS pfnProgress, void *pvUser, uint32_t fFlags,
     450                                           uint64_t cbExpectedRead, uint64_t cbExpectedWritten, PRTVFSIOSTREAM phVfsIos)
    451451{
    452452    AssertPtrReturn(pfnProgress, VERR_INVALID_POINTER);
     
    482482
    483483
    484 RTDECL(int) RTVfsFileCreateProgress(RTVFSFILE hVfsFile, PFNRTPROGRESS pfnProgress, void *pvUser, uint32_t fFlags,
    485                                     uint64_t cbExpectedRead, uint64_t cbExpectedWritten, PRTVFSFILE phVfsFile)
     484RTDECL(int) RTVfsCreateProgressForFile(RTVFSFILE hVfsFile, PFNRTPROGRESS pfnProgress, void *pvUser, uint32_t fFlags,
     485                                       uint64_t cbExpectedRead, uint64_t cbExpectedWritten, PRTVFSFILE phVfsFile)
    486486{
    487487    AssertPtrReturn(pfnProgress, VERR_INVALID_POINTER);
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