VirtualBox

Changeset 21786 in vbox


Ignore:
Timestamp:
Jul 24, 2009 12:46:37 PM (16 years ago)
Author:
vboxsync
Message:

API: fix build breakage caused by missing code for Windows, to make IVirtualBoxErrorInfo consistent

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

Legend:

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

    r21783 r21786  
    119119STDMETHODIMP VirtualBoxErrorInfo::GetGUID (GUID *guid)
    120120{
    121     return COMGETTER(InterfaceID) (guid);
     121    Bstr iid;
     122    HRESULT rc = COMGETTER(InterfaceID) (iid.asOutParam());
     123    if (SUCCEEDED(rc))
     124        *guid = Guid(iid);
     125    return rc;
    122126}
    123127
  • trunk/src/VBox/Main/glue/VirtualBoxErrorInfo.cpp

    r21783 r21786  
    77
    88/*
    9  * Copyright (C) 2008 Sun Microsystems, Inc.
     9 * Copyright (C) 2008-2009 Sun Microsystems, Inc.
    1010 *
    1111 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    142142STDMETHODIMP VirtualBoxErrorInfo::GetGUID (GUID *guid)
    143143{
    144     return COMGETTER(InterfaceID) (guid);
     144    Bstr iid;
     145    HRESULT rc = COMGETTER(InterfaceID) (iid.asOutParam());
     146    if (SUCCEEDED(rc))
     147        *guid = Guid(iid);
     148    return rc;
    145149}
    146150
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