VirtualBox

Changeset 19310 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
May 3, 2009 7:51:06 PM (16 years ago)
Author:
vboxsync
Message:

Main: adpated to paramter type change of COMGETTER(ResultCode)

File:
1 edited

Legend:

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

    r19239 r19310  
    35703570    }
    35713571    // report result of asynchronous operation
    3572     HRESULT vrc;
    3573     rc = pProgressAsync->COMGETTER(ResultCode)(&vrc);
     3572    LONG iRc;
     3573    rc = pProgressAsync->COMGETTER(ResultCode)(&iRc);
    35743574    if (FAILED(rc)) throw rc;
    35753575
     
    35773577    // if the thread of the progress object has an error, then
    35783578    // retrieve the error info from there, or it'll be lost
    3579     if (FAILED(vrc))
     3579    if (FAILED(iRc))
    35803580    {
    35813581        ProgressErrorInfo info(pProgressAsync);
    35823582        Utf8Str str(info.getText());
    35833583        const char *pcsz = str.c_str();
    3584         HRESULT rc2 = setError(vrc, pcsz);
     3584        HRESULT rc2 = setError(iRc, pcsz);
    35853585        throw rc2;
    35863586    }
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