VirtualBox

Changeset 21783 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
Jul 24, 2009 11:44:32 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50383
Message:

API: make IVirtualBoxErrorInfo available via the webservice, and eliminate the last use of the "uuid" type.

Location:
trunk/src/VBox/Main/glue
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/ErrorInfo.cpp

    r21079 r21783  
    183183    LONG lrc;
    184184
    185     rc = info->COMGETTER(ResultCode) (&lrc); mResultCode = lrc;   
    186     gotSomething |= SUCCEEDED (rc);
    187     gotAll &= SUCCEEDED (rc);
    188 
    189     rc = info->COMGETTER(InterfaceID) (mInterfaceID.asOutParam());
     185    rc = info->COMGETTER(ResultCode) (&lrc); mResultCode = lrc;
     186    gotSomething |= SUCCEEDED (rc);
     187    gotAll &= SUCCEEDED (rc);
     188
     189    Bstr iid;
     190    rc = info->COMGETTER(InterfaceID) (iid.asOutParam());
    190191    gotSomething |= SUCCEEDED (rc);
    191192    gotAll &= SUCCEEDED (rc);
    192193    if (SUCCEEDED (rc))
     194    {
     195        mInterfaceID = iid;
    193196        GetInterfaceNameByIID (mInterfaceID, mInterfaceName.asOutParam());
     197    }
    194198
    195199    rc = info->COMGETTER(Component) (mComponent.asOutParam());
  • trunk/src/VBox/Main/glue/VirtualBoxErrorInfo.cpp

    r21079 r21783  
    6969}
    7070
    71 STDMETHODIMP VirtualBoxErrorInfo::COMGETTER(InterfaceID) (OUT_GUID aIID)
     71STDMETHODIMP VirtualBoxErrorInfo::COMGETTER(InterfaceID) (BSTR *aIID)
    7272{
    7373    if (!aIID)
    7474        return E_POINTER;
    7575
    76     mIID.cloneTo (aIID);
     76    mIID.toUtf16().cloneTo (aIID);
    7777    return S_OK;
    7878}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette