Lines Matching refs:hrc

156     HRESULT hrc = S_OK;
158 hrc = Progress::i_notifyComplete(aResultCode);
159 return hrc;
173 HRESULT hrc = S_OK;
178 hrc = Progress::i_notifyCompleteV(aResultCode, aIID, pcszComponent, aText, va);
181 return hrc;
201 HRESULT hrc = pOtherProgress->COMGETTER(OperationCount)(&cOperations);
202 if (FAILED(hrc))
206 hrc = pOtherProgress->COMGETTER(Description)(bstrOperationDescription.asOutParam());
207 if (FAILED(hrc))
238 hrc = ptrOtherProgress->COMGETTER(Completed)(&f);
239 fCompletedOrCanceled = FAILED(hrc) || f;
243 hrc = ptrOtherProgress->COMGETTER(Canceled)(&f);
244 fCompletedOrCanceled = SUCCEEDED(hrc) && f;
260 hrc = ptrOtherProgress->COMGETTER(Cancelable)(&f);
261 if (SUCCEEDED(hrc) && !f)
273 hrc = ptrOtherProgress->Cancel();
274 LogFlowThisFunc(("Cancel -> %Rhrc", hrc));
313 HRESULT hrc;
325 hrc = pOtherProgress->COMGETTER(Canceled)(&fCanceled);
326 if (FAILED(hrc))
339 hrc = pOtherProgress->COMGETTER(Completed)(&fCompleted);
340 if (FAILED(hrc))
347 hrc = pOtherProgress->COMGETTER(ResultCode)(&hrcResult);
348 if (FAILED(hrc))
349 hrcResult = hrc;
356 hrc = pOtherProgress->COMGETTER(ErrorInfo)(ptrErrorInfo.asOutParam());
357 if (SUCCEEDED(hrc) && !ptrErrorInfo.isNull())
360 hrc = ptrErrorInfo->COMGETTER(InterfaceID)(bstrIID.asOutParam()); AssertComRC(hrc);
361 if (FAILED(hrc))
365 hrc = ptrErrorInfo->COMGETTER(Component)(bstrComponent.asOutParam()); AssertComRC(hrc);
366 if (FAILED(hrc))
370 hrc = ptrErrorInfo->COMGETTER(Text)(bstrText.asOutParam()); AssertComRC(hrc);
371 if (FAILED(hrc))
383 LogFlowThisFunc(("ErrorInfo failed with hrc=%Rhrc; hrcResult=%Rhrc\n", hrc, hrcResult));
404 hrc = pOtherProgress->COMGETTER(Cancelable)(&fCancelable); AssertComRC(hrc);
405 if (SUCCEEDED(hrc) && !fCancelable)
422 HRESULT hrc = autoCaller.rc();
423 if (SUCCEEDED(hrc))
432 hrc = mptrOtherProgress->COMGETTER(Cancelable)(aCancelable);
433 if (SUCCEEDED(hrc) && !*aCancelable)
440 return hrc;
448 HRESULT hrc = autoCaller.rc();
449 if (SUCCEEDED(hrc))
454 hrc = Progress::COMGETTER(Percent)(aPercent);
462 hrc = mptrOtherProgress->COMGETTER(Percent)(&uPct);
463 if (SUCCEEDED(hrc))
472 return hrc;
480 HRESULT hrc = autoCaller.rc();
481 if (SUCCEEDED(hrc))
486 hrc = Progress::COMGETTER(TimeRemaining)(aTimeRemaining);
488 hrc = mptrOtherProgress->COMGETTER(TimeRemaining)(aTimeRemaining);
490 return hrc;
504 HRESULT hrc = autoCaller.rc();
505 if (SUCCEEDED(hrc))
509 hrc = Progress::COMGETTER(Canceled)(aCanceled);
510 if ( SUCCEEDED(hrc)
515 hrc = mptrOtherProgress->COMGETTER(Canceled)(aCanceled);
516 if (SUCCEEDED(hrc) && *aCanceled)
521 return hrc;
541 HRESULT hrc = autoCaller.rc();
542 if (SUCCEEDED(hrc))
546 hrc = Progress::COMGETTER(Operation)(aOperation);
550 hrc = mptrOtherProgress->COMGETTER(Operation)(&uCurOtherOperation);
551 if (SUCCEEDED(hrc))
555 return hrc;
563 HRESULT hrc = autoCaller.rc();
564 if (SUCCEEDED(hrc))
568 hrc = Progress::COMGETTER(OperationDescription)(aOperationDescription);
570 hrc = mptrOtherProgress->COMGETTER(OperationDescription)(aOperationDescription);
572 return hrc;
580 HRESULT hrc = autoCaller.rc();
581 if (SUCCEEDED(hrc))
585 hrc = Progress::COMGETTER(OperationPercent)(aOperationPercent);
587 hrc = mptrOtherProgress->COMGETTER(OperationPercent)(aOperationPercent);
589 return hrc;
614 HRESULT hrc;
620 hrc = Progress::WaitForCompletion(aTimeout);
623 return hrc;
632 HRESULT hrc = autoCaller.rc();
633 if (SUCCEEDED(hrc))
647 hrc = Progress::WaitForOperationCompletion(aOperation, aTimeout);
655 hrc = ptrOtherProgress->WaitForOperationCompletion(aOperation, aTimeout);
660 return hrc;
667 HRESULT hrc = autoCaller.rc();
668 if (SUCCEEDED(hrc))
672 hrc = Progress::Cancel();
675 hrc = mptrOtherProgress->Cancel();
676 if (SUCCEEDED(hrc))
681 LogFlowThisFunc(("returns %Rhrc\n", hrc));
682 return hrc;