VirtualBox

Ignore:
Timestamp:
Jan 24, 2023 1:42:14 AM (23 months ago)
Author:
vboxsync
Message:

Main: rc() -> hrc()/vrc(). bugref:10223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MediumIOImpl.cpp

    r98103 r98262  
    117117        AssertReturnVoidStmt(pMediumIO, mRC = E_FAIL);
    118118        AssertReturnVoidStmt(pDataStream, mRC = E_FAIL);
    119         mRC = mMediumCaller.rc();
     119        mRC = mMediumCaller.hrc();
    120120        if (FAILED(mRC))
    121121            return;
     
    125125        mVirtualBox = pVirtualBox;
    126126        mVirtualBoxCaller.attach(pVirtualBox);
    127         mRC = mVirtualBoxCaller.rc();
     127        mRC = mVirtualBoxCaller.hrc();
    128128        if (FAILED(mRC))
    129129            return;
     
    139139    }
    140140
    141     HRESULT rc() const { return mRC; }
    142     bool isOk() const { return SUCCEEDED(rc()); }
     141    HRESULT hrc() const { return mRC; }
     142    bool isOk() const { return SUCCEEDED(hrc()); }
    143143
    144144    const ComPtr<Progress>& GetProgressObject() const {return mProgress;}
     
    154154        {
    155155            mRC = executeTask(); /* (destructor picks up mRC, see above) */
    156             LogFlowFunc(("rc=%Rhrc\n", mRC));
     156            LogFlowFunc(("hrc=%Rhrc\n", mRC));
    157157        }
    158158        catch (...)
     
    838838        pTask = new MediumIO::StreamTask(this, pDataStream, pProgress,
    839839                                         aFormat.c_str(), (MediumVariant_T)mediumVariantFlags);
    840         rc = pTask->rc();
     840        rc = pTask->hrc();
    841841        AssertComRC(rc);
    842842        if (FAILED(rc))
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