- Timestamp:
- Jun 3, 2009 8:40:29 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48062
- Location:
- trunk/src/VBox
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp ¶
r20212 r20220 162 162 163 163 /* complete the line. */ 164 ULONG iRc;164 LONG iRc; 165 165 if (SUCCEEDED(progress->COMGETTER(ResultCode)(&iRc))) 166 166 { … … 531 531 ASSERT(completed); 532 532 533 ULONG iRc;533 LONG iRc; 534 534 CHECK_ERROR_RET(progress, COMGETTER(ResultCode)(&iRc), rc); 535 535 if (FAILED(iRc)) … … 611 611 showProgress(progress); 612 612 613 ULONG iRc;613 LONG iRc; 614 614 progress->COMGETTER(ResultCode)(&iRc); 615 615 if (FAILED(iRc)) -
TabularUnified trunk/src/VBox/Main/ApplianceImpl.cpp ¶
r20219 r20220 4000 4000 } 4001 4001 // report result of asynchronous operation 4002 ULONG iRc;4002 LONG iRc; 4003 4003 rc = pProgressAsync->COMGETTER(ResultCode)(&iRc); 4004 4004 if (FAILED(rc)) throw rc; -
TabularUnified trunk/src/VBox/Main/ConsoleImpl.cpp ¶
r20213 r20220 6918 6918 if (SUCCEEDED (rc)) 6919 6919 { 6920 ULONG iRc = S_OK;6920 LONG iRc = S_OK; 6921 6921 rc = task->mServerProgress->COMGETTER(ResultCode) (&iRc); 6922 6922 if (SUCCEEDED (rc)) -
TabularUnified trunk/src/VBox/Main/HostPower.cpp ¶
r20212 r20220 136 136 137 137 /* Wait until the operation has been completed. */ 138 ULONG iRc;138 LONG iRc; 139 139 rc = progress->WaitForCompletion(-1); 140 140 if (SUCCEEDED (rc)) -
TabularUnified trunk/src/VBox/Main/ProgressImpl.cpp ¶
r20216 r20220 372 372 } 373 373 374 STDMETHODIMP ProgressBase::COMGETTER(ResultCode) ( ULONG *aResultCode)374 STDMETHODIMP ProgressBase::COMGETTER(ResultCode) (LONG *aResultCode) 375 375 { 376 376 CheckComArgOutPointerValid(aResultCode); … … 492 492 AssertReturn (aProgress != NULL, E_INVALIDARG); 493 493 494 ULONG resultCode;495 HRESULT rc = aProgress->COMGETTER(ResultCode) (& resultCode);494 LONG iRc; 495 HRESULT rc = aProgress->COMGETTER(ResultCode) (&iRc); 496 496 AssertComRCReturnRC (rc); 497 HRESULT resultCode = iRc; 497 498 498 499 if (resultCode == S_OK) … … 1315 1316 } 1316 1317 1317 STDMETHODIMP CombinedProgress::COMGETTER(ResultCode) ( ULONG *aResultCode)1318 STDMETHODIMP CombinedProgress::COMGETTER(ResultCode) (LONG *aResultCode) 1318 1319 { 1319 1320 CheckComArgOutPointerValid(aResultCode); … … 1592 1593 return rc; 1593 1594 1594 ULONG iRc;1595 LONG iRc; 1595 1596 rc = progress->COMGETTER(ResultCode) (&iRc); 1596 1597 if (FAILED (rc)) 1597 1598 return rc; 1598 1599 1599 mResultCode = iRc; 1600 1600 1601 if (FAILED (mResultCode)) 1601 1602 { -
TabularUnified trunk/src/VBox/Main/cbinding/tstXPCOMCCall.c ¶
r20218 r20220 607 607 { 608 608 PRBool completed; 609 PR Uint32 resultCode;609 PRInt32 resultCode; 610 610 611 611 printf("Waiting for the remote session to open...\n"); -
TabularUnified trunk/src/VBox/Main/cbinding/tstXPCOMCGlue.c ¶
r20213 r20220 238 238 { 239 239 PRBool completed; 240 PR Uint32 resultCode;240 PRInt32 resultCode; 241 241 242 242 printf("Waiting for the remote session to open...\n"); -
TabularUnified trunk/src/VBox/Main/idl/VirtualBox.xidl ¶
r20212 r20220 8031 8031 </attribute> 8032 8032 8033 <attribute name="resultCode" type=" unsignedlong" readonly="yes">8033 <attribute name="resultCode" type="long" readonly="yes"> 8034 8034 <desc> 8035 8035 Result code of the progress task. -
TabularUnified trunk/src/VBox/Main/include/ProgressImpl.h ¶
r20212 r20220 76 76 STDMETHOD(COMGETTER(Completed)) (BOOL *aCompleted); 77 77 STDMETHOD(COMGETTER(Canceled)) (BOOL *aCanceled); 78 STDMETHOD(COMGETTER(ResultCode)) ( ULONG *aResultCode);78 STDMETHOD(COMGETTER(ResultCode)) (LONG *aResultCode); 79 79 STDMETHOD(COMGETTER(ErrorInfo)) (IVirtualBoxErrorInfo **aErrorInfo); 80 80 STDMETHOD(COMGETTER(OperationCount)) (ULONG *aOperationCount); … … 396 396 STDMETHOD(COMGETTER(Completed)) (BOOL *aCompleted); 397 397 STDMETHOD(COMGETTER(Canceled)) (BOOL *aCanceled); 398 STDMETHOD(COMGETTER(ResultCode)) ( ULONG *aResultCode);398 STDMETHOD(COMGETTER(ResultCode)) (LONG *aResultCode); 399 399 STDMETHOD(COMGETTER(ErrorInfo)) (IVirtualBoxErrorInfo **aErrorInfo); 400 400 STDMETHOD(COMGETTER(Operation)) (ULONG *aCount); -
TabularUnified trunk/src/VBox/Main/testcase/tstVBoxAPILinux.cpp ¶
r20212 r20220 326 326 */ 327 327 rc = progress->WaitForCompletion(-1); 328 PR Uint32 resultCode;328 PRInt32 resultCode; 329 329 progress->GetResultCode(&resultCode); 330 330 if (NS_FAILED(rc) || NS_FAILED(resultCode))
Note:
See TracChangeset
for help on using the changeset viewer.