Changeset 85250 in vbox
- Timestamp:
- Jul 11, 2020 11:10:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ProgressProxyImpl.cpp
r82968 r85250 338 338 { 339 339 /* Check the result. */ 340 LONG hrcResult;341 hrc = pOtherProgress->COMGETTER(ResultCode)(& hrcResult);340 LONG lResult; 341 hrc = pOtherProgress->COMGETTER(ResultCode)(&lResult); 342 342 if (FAILED(hrc)) 343 hrcResult =hrc;344 if (SUCCEEDED((HRESULT) hrcResult))343 lResult = (LONG)hrc; 344 if (SUCCEEDED((HRESULT)lResult)) 345 345 LogFlowThisFunc(("Succeeded\n")); 346 346 else … … 367 367 368 368 Utf8Str strText(bstrText); 369 LogFlowThisFunc(("Got ErrorInfo(%s); hrcResult=%Rhrc\n", strText.c_str(), hrcResult));370 Progress::i_notifyComplete((HRESULT) hrcResult,369 LogFlowThisFunc(("Got ErrorInfo(%s); hrcResult=%Rhrc\n", strText.c_str(), (HRESULT)lResult)); 370 Progress::i_notifyComplete((HRESULT)lResult, 371 371 Guid(bstrIID).ref(), 372 372 Utf8Str(bstrComponent).c_str(), … … 375 375 else 376 376 { 377 LogFlowThisFunc(("ErrorInfo failed with hrc=%Rhrc; hrcResult=%Rhrc\n", hrc, hrcResult));378 Progress::i_notifyComplete((HRESULT) hrcResult,377 LogFlowThisFunc(("ErrorInfo failed with hrc=%Rhrc; hrcResult=%Rhrc\n", hrc, (HRESULT)lResult)); 378 Progress::i_notifyComplete((HRESULT)lResult, 379 379 COM_IIDOF(IProgress), 380 380 "ProgressProxy",
Note:
See TracChangeset
for help on using the changeset viewer.

