Changeset 21786 in vbox
- Timestamp:
- Jul 24, 2009 12:46:37 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VirtualBoxErrorInfoImpl.cpp
r21783 r21786 119 119 STDMETHODIMP VirtualBoxErrorInfo::GetGUID (GUID *guid) 120 120 { 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; 122 126 } 123 127 -
trunk/src/VBox/Main/glue/VirtualBoxErrorInfo.cpp
r21783 r21786 7 7 8 8 /* 9 * Copyright (C) 2008 Sun Microsystems, Inc.9 * Copyright (C) 2008-2009 Sun Microsystems, Inc. 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 142 142 STDMETHODIMP VirtualBoxErrorInfo::GetGUID (GUID *guid) 143 143 { 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; 145 149 } 146 150
Note:
See TracChangeset
for help on using the changeset viewer.