VirtualBox

Ignore:
Timestamp:
Jun 3, 2009 8:40:29 AM (16 years ago)
Author:
vboxsync
Message:

Main: back out the IProgess::GetResultCode() parameter change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ProgressImpl.cpp

    r20216 r20220  
    372372}
    373373
    374 STDMETHODIMP ProgressBase::COMGETTER(ResultCode) (ULONG *aResultCode)
     374STDMETHODIMP ProgressBase::COMGETTER(ResultCode) (LONG *aResultCode)
    375375{
    376376    CheckComArgOutPointerValid(aResultCode);
     
    492492    AssertReturn (aProgress != NULL, E_INVALIDARG);
    493493
    494     ULONG resultCode;
    495     HRESULT rc = aProgress->COMGETTER(ResultCode) (&resultCode);
     494    LONG iRc;
     495    HRESULT rc = aProgress->COMGETTER(ResultCode) (&iRc);
    496496    AssertComRCReturnRC (rc);
     497    HRESULT resultCode = iRc;
    497498
    498499    if (resultCode == S_OK)
     
    13151316}
    13161317
    1317 STDMETHODIMP CombinedProgress::COMGETTER(ResultCode) (ULONG *aResultCode)
     1318STDMETHODIMP CombinedProgress::COMGETTER(ResultCode) (LONG *aResultCode)
    13181319{
    13191320    CheckComArgOutPointerValid(aResultCode);
     
    15921593                return rc;
    15931594
    1594             ULONG iRc;
     1595            LONG iRc;
    15951596            rc = progress->COMGETTER(ResultCode) (&iRc);
    15961597            if (FAILED (rc))
    15971598                return rc;
    1598 
    15991599            mResultCode = iRc;
     1600
    16001601            if (FAILED (mResultCode))
    16011602            {
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