Changeset 55189 in vbox
- Timestamp:
- Apr 10, 2015 4:25:45 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/VirtualBoxErrorInfoImpl.h
r47391 r55189 4 4 5 5 /* 6 * Copyright (C) 2006-201 3Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 39 39 COM_INTERFACE_ENTRY(IVirtualBoxErrorInfo) 40 40 COM_INTERFACE_ENTRY(IDispatch) 41 COM_INTERFACE_ENTRY_AGGREGATE(IID_IMarshal, m_pUnkMarshaler) 41 42 END_COM_MAP() 43 44 HRESULT FinalConstruct() 45 { 46 #ifndef VBOX_WITH_XPCOM 47 return CoCreateFreeThreadedMarshaler((IUnknown *)(void *)this, &m_pUnkMarshaler); 48 #else 49 return S_OK; 50 #endif 51 } 52 53 void FinalRelease() 54 { 55 #ifndef VBOX_WITH_XPCOM 56 if (m_pUnkMarshaler) 57 { 58 m_pUnkMarshaler->Release(); 59 m_pUnkMarshaler = NULL; 60 } 61 #endif 62 } 42 63 43 64 #ifndef VBOX_WITH_XPCOM … … 128 149 Utf8Str m_strComponent; 129 150 ComPtr<IVirtualBoxErrorInfo> mNext; 151 152 #ifndef VBOX_WITH_XPCOM 153 IUnknown *m_pUnkMarshaler; 154 #endif 130 155 }; 131 156
Note:
See TracChangeset
for help on using the changeset viewer.

