Changeset 98262 in vbox for trunk/src/VBox/Main/src-server/MediumIOImpl.cpp
- Timestamp:
- Jan 24, 2023 1:42:14 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MediumIOImpl.cpp
r98103 r98262 117 117 AssertReturnVoidStmt(pMediumIO, mRC = E_FAIL); 118 118 AssertReturnVoidStmt(pDataStream, mRC = E_FAIL); 119 mRC = mMediumCaller. rc();119 mRC = mMediumCaller.hrc(); 120 120 if (FAILED(mRC)) 121 121 return; … … 125 125 mVirtualBox = pVirtualBox; 126 126 mVirtualBoxCaller.attach(pVirtualBox); 127 mRC = mVirtualBoxCaller. rc();127 mRC = mVirtualBoxCaller.hrc(); 128 128 if (FAILED(mRC)) 129 129 return; … … 139 139 } 140 140 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()); } 143 143 144 144 const ComPtr<Progress>& GetProgressObject() const {return mProgress;} … … 154 154 { 155 155 mRC = executeTask(); /* (destructor picks up mRC, see above) */ 156 LogFlowFunc((" rc=%Rhrc\n", mRC));156 LogFlowFunc(("hrc=%Rhrc\n", mRC)); 157 157 } 158 158 catch (...) … … 838 838 pTask = new MediumIO::StreamTask(this, pDataStream, pProgress, 839 839 aFormat.c_str(), (MediumVariant_T)mediumVariantFlags); 840 rc = pTask-> rc();840 rc = pTask->hrc(); 841 841 AssertComRC(rc); 842 842 if (FAILED(rc))
Note:
See TracChangeset
for help on using the changeset viewer.