/** @file * * DO NOT EDIT! This is a generated file. * Generated from: src/VBox/Main/idl/VirtualBox.xidl * Generator: src/VBox/Main/idl/apiwrap-server.xsl */ /** * Copyright (C) 2010-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms of the GNU * General Public License (GPL) as published by the Free Software * Foundation, in version 2 as it comes in the "COPYING" file of the * VirtualBox OSE distribution. VirtualBox OSE is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. */ #include "VirtualBoxBase.h" #include "Wrapper.h" public VirtualBoxBase, , , { Q_OBJECT public: DECLARE_PROTECT_FINAL_CONSTRUCT() COM_INTERFACE_ENTRY(ISupportErrorInfo) COM_INTERFACE_ENTRY_AGGREGATE(IID_IMarshal, m_pUnkMarshaler.p) END_COM_MAP() }; #include "Logging.h" #ifdef VBOX_WITH_DTRACE_R3_MAIN # include "dtrace/VBoxAPI.h" #endif #ifdef VBOX_WITH_XPCOM #endif // VBOX_WITH_XPCOM IN_ BSTR IUnknown * * const com::Utf8Str & const com::Guid & const ComPtr<IUnknown> & const * %p %zu %p %RU32 %p void * int void * * ComSafeArrayIn( ComSafeArrayOut( , a const std::vector< > & a * a = ComSafeArraySize( * * a ) Tmp (uint32_t) .array().size(), NULL /*for now*/ .str().c_str() .uuid().toStringCurly().c_str() (void *) .ptr() (void *) .ptr() * a != FALSE 0, 0 * a != FALSE uint32_t a_c , *a_pa a_ yes yes yes Array ComTypeInConverter<IUnknown> ComTypeOutConverter<IUnknown> Array BSTRInConverter BSTROutConverter Array UuidInConverter UuidOutConverter Array ComTypeInConverter ComTypeOutConverter Array InConverter OutConverter Tmp ( ComSafeArrayInArg( ComSafeArrayOutArg( a ) ); Tmp .array() .str() .uuid() .ptr() .ptr() Oops #1 a != FALSE ); ); AutoCaller &aAutoCaller, ) = 0; AutoCaller &aAutoCaller, ) = 0; ) { LogRelFlow(("{%p} %s: enter \n", this, )); VirtualBoxBase::clearError(); HRESULT hrc; try { CheckComArgOutPointerValidThrow(a ); #ifdef VBOX_WITH_DTRACE_R3_MAIN this); #endif AutoLimitedCaller AutoCaller autoCaller(this); if (FAILED(autoCaller.rc())) throw autoCaller.rc(); autoCaller, ); #ifdef VBOX_WITH_DTRACE_R3_MAIN this, hrc, 0 /*normal*/, out ); #endif } catch (HRESULT hrc2) { hrc = hrc2; #ifdef VBOX_WITH_DTRACE_R3_MAIN this, hrc, 1 /*hrc exception*/, out ); #endif } catch (...) { hrc = VirtualBoxBase::handleUnexpectedExceptions(this, RT_SRC_POS); #ifdef VBOX_WITH_DTRACE_R3_MAIN this, hrc, 9 /*unhandled exception*/, out ); #endif } LogRelFlow(("{%p} %s: leave hrc=%Rhrc\n", this, , hrc)); return hrc; } ) { LogRelFlow(("{%p} %s: enter \n", this, )); VirtualBoxBase::clearError(); HRESULT hrc; try { #ifdef VBOX_WITH_DTRACE_R3_MAIN this, in ); #endif AutoLimitedCaller AutoCaller autoCaller(this); if (FAILED(autoCaller.rc())) throw autoCaller.rc(); autoCaller, ); #ifdef VBOX_WITH_DTRACE_R3_MAIN this, hrc, 0 /*normal*/, in ); #endif } catch (HRESULT hrc2) { hrc = hrc2; #ifdef VBOX_WITH_DTRACE_R3_MAIN this, hrc, 1 /*hrc exception*/, in ); #endif } catch (...) { hrc = VirtualBoxBase::handleUnexpectedExceptions(this, RT_SRC_POS); #ifdef VBOX_WITH_DTRACE_R3_MAIN this, hrc, 9 /*unhandled exception*/, in ); #endif } LogRelFlow(("{%p} %s: leave hrc=%Rhrc\n", this, hrc)); return hrc; } probe *a_pThis); probe , uint32_t a_hrc, int32_t enmWhy, out ); probe ); probe , uint32_t a_hrc, int32_t enmWhy, in ); // // #ifdef VBOX_WITH_XPCOM #ifndef VBOX_WITH_XPCOM #endif /* VBOX_WITH_XPCOM */ #endif /* !VBOX_WITH_XPCOM */ STDMETHOD( )( , ); virtual HRESULT ( AutoCaller &aAutoCaller , , ) = 0; , ) { LogRelFlow(("{%p} %s:enter \n", this , )); VirtualBoxBase::clearError(); HRESULT hrc; try { CheckComArgOutPointerValidThrow(a ); #ifdef VBOX_WITH_DTRACE_R3_MAIN this , ); #endif AutoLimitedCaller AutoCaller autoCaller(this); if (FAILED(autoCaller.rc())) throw autoCaller.rc(); autoCaller , , ); #ifdef VBOX_WITH_DTRACE_R3_MAIN this, hrc, 0 /*normal*/ , ); #endif } catch (HRESULT hrc2) { hrc = hrc2; #ifdef VBOX_WITH_DTRACE_R3_MAIN this, hrc, 1 /*hrc exception*/ , ); #endif } catch (...) { hrc = VirtualBoxBase::handleUnexpectedExceptions(this, RT_SRC_POS); #ifdef VBOX_WITH_DTRACE_R3_MAIN this, hrc, 9 /*unhandled exception*/ , ); #endif } LogRelFlow(("{%p} %s: leave hrc=%Rhrc\n", this , , hrc)); return hrc; } probe , ); probe , uint32_t a_hrc, int32_t enmWhy , ); // // private: dtrace-probes dtrace-probes Unknown string parameter value: generating=''