VirtualBox.xidl revision 50453af238fcec34bf98f91cc4c32bf57f738bd3
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync<?xml version="1.0" ?>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<!--
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * :tabSize=2:indentSize=2:noTabs=true:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * :folding=explicit:collapseFolds=1:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync *
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync * Master declaration for VirtualBox's Main API, represented
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * by COM/XPCOM and web service interfaces.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * From this document, the build system generates several files
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * via XSLT that are then used during the build process.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Below is the list of XSL templates that operate on this file and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * output files they generate. These XSL templates must be updated
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * whenever the schema of this file changes:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * 1. src/VBox/Main/idl/midl.xsl =>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * out/<platform>/bin/sdk/idl/VirtualBox.idl
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * (MS COM interface definition file for Main API)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * 2. src/VBox/Main/idl/xpidl.xsl =>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * out/<platform>/bin/sdk/idl/VirtualBox_XPCOM.idl
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * (XPCOM interface definition file for Main API)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * 3. src/VBox/Main/idl/doxygen.xsl =>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * out/<platform>/obj/src/VBox/Main/VirtualBox.idl
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * (pseudo-IDL for Doxygen to generate the official Main API
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * documentation)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * 4. src/VBox/Main/webservice/*.xsl =>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * a bunch of WSDL and C++ files
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * (VirtualBox web service sources and SOAP mappers;
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * see src/VBox/Main/webservice/Makefile.kmk for details)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * 5. src/VBox/Frontends/VirtualBox/include/COMWrappers.xsl =>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * out/<platform>/obj/src/VBox/Frontends/VirtualBox/VirtualBox/include/COMWrappers.h
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * (smart Qt-based C++ wrapper classes for COM interfaces
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * of the Main API)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * 6. src/VBox/Installer/win32/VirtualBox_TypeLib.xsl =>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * out/<platform>/obj/src/VBox/Installer/win32/VirtualBox_TypeLib.wxi
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * (Main API TypeLib block for the WiX installer)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * 7. src/VBox/Runtime/common/err/errmsgvboxcom.xsl =>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * out/<platform>/obj/Runtime/errmsgvboxcomdata.h
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * (<result> extraction for the %Rhrc format specifier)
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Copyright (C) 2006-2009 Sun Microsystems, Inc.
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync This file is part of VirtualBox Open Source Edition (OSE), as
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync available from http://www.virtualbox.org. This file is free software;
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync you can redistribute it and/or modify it under the terms of the GNU
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync General Public License (GPL) as published by the Free Software
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync Foundation, in version 2 as it comes in the "COPYING" file of the
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync Clara, CA 95054 USA or visit http://www.sun.com if you need
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync additional information or have any questions.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync-->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<idl>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<desc>
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync Welcome to the <b>VirtualBox Main API documentation</b>. This documentation
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync describes the so-called <i>VirtualBox Main API</i> which comprises all public
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync COM interfaces and components provided by the VirtualBox server and by the
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync VirtualBox client library.
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync VirtualBox employs a client-server design, meaning that whenever any part of
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync VirtualBox is running -- be it the Qt GUI, the VBoxManage command-line
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync interface or any virtual machine --, a dedicated server process named
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync VBoxSVC runs in the background. This allows multiple processes working with
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync VirtualBox to cooperate without conflicts. These processes communicate to each
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync other using inter-process communication facilities provided by the COM
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync implementation of the host computer.
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync On Windows platforms, the VirtualBox Main API uses Microsoft COM, a native COM
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync implementation. On all other platforms, Mozilla XPCOM, an open-source COM
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync implementation, is used.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync All the parts that a typical VirtualBox user interacts with (the Qt GUI,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the VBoxManage command-line interface and the VBoxVRDP server) are technically
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync front-ends to the Main API and only use the interfaces that are documented
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync in this Main API documentation. This ensures that, with any given release
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync version of VirtualBox, all capabilities of the product that could be useful
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to an external client program are always exposed by way of this API.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The VirtualBox Main API (also called the <i>VirtualBox COM library</i>)
e94ff1af89bf631c68367d4e291ddbb491b5e5c0vboxsync contains two public component classes:
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync <tt>%VirtualBox.VirtualBox</tt> and <tt>%VirtualBox.Session</tt>, which
e94ff1af89bf631c68367d4e291ddbb491b5e5c0vboxsync implement IVirtualBox and ISession interfaces respectively. These two classes
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync are of supreme importance and will be needed in order for any front-end
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync program to do anything useful. It is recommended to read the documentation of
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync the mentioned interfaces first.
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync The <tt>%VirtualBox.VirtualBox</tt> class is a singleton. This means that
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync there can be only one object of this class on the local machine at any given
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync time. This object is a parent of many other objects in the VirtualBox COM
e94ff1af89bf631c68367d4e291ddbb491b5e5c0vboxsync library and lives in the VBoxSVC process. In fact, when you create an instance
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync of the <tt>VirtualBox.VirtualBox</tt>, the COM subsystem checks if the VBoxSVC
e94ff1af89bf631c68367d4e291ddbb491b5e5c0vboxsync process is already running, starts it if not, and returns you a reference to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the <tt>VirtualBox</tt> object created in this process. When the last reference
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to this object is released, the VBoxSVC process ends (with a 5 second delay to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync protect from too frequent restarts).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The <tt>%VirtualBox.Session</tt> class is a regular component. You can create
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync as many <tt>Session</tt> objects as you need but all of them will live in a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync process which issues the object instantiation call. <tt>Session</tt> objects
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync represent virtual machine sessions which are used to configure virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machines and control their execution.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<if target="midl">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <cpp line="enum {"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <cpp line=" kTypeLibraryMajorVersion = 1,"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <cpp line=" kTypeLibraryMinorVersion = 0"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <cpp line="};"/>
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync</if>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<if target="xpidl">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!-- NS_IMPL_THREADSAFE_ISUPPORTSxx_CI macros are placed here, for convenience -->
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync <cpp>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync/* currently, nsISupportsImpl.h lacks the below-like macros */
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync#define NS_IMPL_THREADSAFE_QUERY_INTERFACE1_CI NS_IMPL_QUERY_INTERFACE1_CI
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync#define NS_IMPL_THREADSAFE_QUERY_INTERFACE2_CI NS_IMPL_QUERY_INTERFACE2_CI
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync#ifndef NS_IMPL_THREADSAFE_ISUPPORTS1_CI
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync# define NS_IMPL_THREADSAFE_ISUPPORTS1_CI(_class, _interface) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_IMPL_THREADSAFE_ADDREF(_class) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_IMPL_THREADSAFE_RELEASE(_class) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_IMPL_THREADSAFE_QUERY_INTERFACE1_CI(_class, _interface) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_IMPL_CI_INTERFACE_GETTER1(_class, _interface)
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync#endif
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync#ifndef NS_IMPL_THREADSAFE_ISUPPORTS2_CI
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync# define NS_IMPL_THREADSAFE_ISUPPORTS2_CI(_class, _i1, _i2) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_IMPL_THREADSAFE_ADDREF(_class) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_IMPL_THREADSAFE_RELEASE(_class) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_IMPL_THREADSAFE_QUERY_INTERFACE2_CI(_class, _i1, _i2) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_IMPL_CI_INTERFACE_GETTER2(_class, _i1, _i2)
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync#endif
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync#ifndef NS_IMPL_QUERY_INTERFACE1_AMBIGUOUS_CI
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync# define NS_IMPL_QUERY_INTERFACE1_AMBIGUOUS_CI(_class, _i1, _ic1) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_INTERFACE_MAP_BEGIN(_class) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(_i1, _ic1) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, _ic1) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_IMPL_QUERY_CLASSINFO(_class) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_INTERFACE_MAP_END
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync#endif
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync#ifndef NS_IMPL_QUERY_INTERFACE2_AMBIGUOUS_CI
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync# define NS_IMPL_QUERY_INTERFACE2_AMBIGUOUS_CI(_class, _i1, _ic1, \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync _i2, _ic2) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_INTERFACE_MAP_BEGIN(_class) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(_i1, _ic1) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(_i2, _ic2) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, _ic1) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_IMPL_QUERY_CLASSINFO(_class) \
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync NS_INTERFACE_MAP_END
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync#endif
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync#define NS_IMPL_THREADSAFE_QUERY_INTERFACE1_AMBIGUOUS_CI NS_IMPL_QUERY_INTERFACE1_AMBIGUOUS_CI
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync#define NS_IMPL_THREADSAFE_QUERY_INTERFACE2_AMBIGUOUS_CI NS_IMPL_QUERY_INTERFACE2_AMBIGUOUS_CI
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync#ifndef NS_IMPL_THREADSAFE_ISUPPORTS1_AMBIGUOUS_CI
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync# define NS_IMPL_THREADSAFE_ISUPPORTS1_AMBIGUOUS_CI(_class, _i1, _ic1) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_IMPL_THREADSAFE_ADDREF(_class) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_IMPL_THREADSAFE_RELEASE(_class) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_IMPL_THREADSAFE_QUERY_INTERFACE1_AMBIGUOUS_CI(_class, _i1, _ic1) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_IMPL_CI_INTERFACE_GETTER1(_class, _i1)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync#endif
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync#ifndef NS_IMPL_THREADSAFE_ISUPPORTS2_AMBIGUOUS_CI
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync# define NS_IMPL_THREADSAFE_ISUPPORTS2_AMBIGUOUS_CI(_class, _i1, _ic1, \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync _i2, _ic2) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_IMPL_THREADSAFE_ADDREF(_class) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_IMPL_THREADSAFE_RELEASE(_class) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_IMPL_THREADSAFE_QUERY_INTERFACE2_AMBIGUOUS_CI(_class, _i1, _ic1, \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync _i2, _ic2) \
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NS_IMPL_CI_INTERFACE_GETTER2(_class, _i1, _i2)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync#endif
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </cpp>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync</if>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync<library
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="VirtualBox"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="46137EEC-703B-4fe5-AFD4-7C9BBBBA0259"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync version="1.3"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync desc="VirtualBox Type Library"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync appUuid="819B4D85-9CEE-493C-B6FC-64FFE759B3C9"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync supportsErrorInfo="yes"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!--
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync // COM result codes for VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync /////////////////////////////////////////////////////////////////////////
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <descGroup id="VirtualBox_COM_result_codes" title="VirtualBox COM result codes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This section describes all VirtualBox-specific COM result codes that may
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync be returned by methods of VirtualBox COM interfaces in addition to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync standard COM result codes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that along with the result code, every VirtualBox method returns
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync extended error information through the IVirtualBoxErrorInfo interface on
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync failure. This interface is a preferred way to present the error to the end
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync user because it contains a human readable description of the error. Raw
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync result codes, both standard and described in this section, are intended to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync be used by programs to analyze the reason of a failure and select an
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync appropriate course of action without involving the end user (for example,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync retry the operation later or make a different call).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The standard COM result codes that may originate from our methods include:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <table>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tr><td>E_INVALIDARG</td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returned when the value of the method's argument is not within the range
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync of valid values. This should not be confused with situations when the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync value is within the range but simply doesn't suit the current object
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync state and there is a possibility that it will be accepted later (in such
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync cases VirtualBox-specific codes are returned, for example,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="VBOX_E_OBJECT_NOT_FOUND"/>).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tr><td>E_POINTER</td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returned if a memory pointer for the output argument is invalid (for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync example, <tt>NULL</tt>). Note that when pointers representing input
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync arguments (such as strings) are invalid, E_INVALIDARG is returned.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tr><td>E_ACCESSDENIED</td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returned when the called object is not ready. Since the lifetime of a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync public COM object cannot be fully controlled by the implementation,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VirtualBox maintains the readiness state for all objects it creates and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync returns this code in response to any method call on the object that was
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync deactivated by VirtualBox and is not functioning any more.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tr><td>E_OUTOFMEMORY</td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returned when a memory allocation operation fails.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </table>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </descGroup>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!--
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that src/VBox/Runtime/common/err/errmsgvboxcom.xsl will ignore
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync everything in <result>/<desc> after (and including) the first dot, so express
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the matter of the error code in the first sentence and keep it short.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND" value="0x80BB0001">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Object corresponding to the supplied arguments does not exist.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE" value="0x80BB0002">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Current virtual machine state prevents the operation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_VM_ERROR" value="0x80BB0003">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine error occurred attempting the operation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR" value="0x80BB0004">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync File not accessible or erroneous file contents.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_IPRT_ERROR" value="0x80BB0005">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Runtime subsystem error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_PDM_ERROR" value="0x80BB0006">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Pluggable Device Manager error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE" value="0x80BB0007">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Current object state prohibits operation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_HOST_ERROR" value="0x80BB0008">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Host operating system related error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_NOT_SUPPORTED" value="0x80BB0009">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Requested operation is not supported.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_XML_ERROR" value="0x80BB000A">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid XML found.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_SESSION_STATE" value="0x80BB000B">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Current session state prohibits operation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync <result name="VBOX_E_OBJECT_IN_USE" value="0x80BB000C">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Object being in use prohibits operation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!--
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that src/VBox/Runtime/common/err/errmsgvboxcom.xsl will ignore
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync everything in <result>/<desc> after (and including) the first dot, so express
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the matter of the error code in the first sentence and keep it short.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <descGroup/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!--
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync // all common enums
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync /////////////////////////////////////////////////////////////////////////
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="TSBool"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="523ff64d-842a-4b1a-80e7-c311b028cb3a"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Boolean variable having a third state, default.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="False" value="0"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="True" value="1"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Default" value="2"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="AccessMode"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="1da0007c-ddf7-4be8-bcac-d84a1558785f"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Access mode for opening files.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="ReadOnly" value="1"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="ReadWrite" value="2"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="MachineState"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="73bf04d0-7c4f-4684-9abf-d65a9ad74343"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine execution state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This enumeration represents possible values of the <link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="IMachine::state"/> attribute.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Below is the basic virtual machine state diagram. It shows how the state
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync changes during virtual machine execution. The text in square braces shows
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync a method of the IConsole interface that performs the given state
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync transition.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +---------[powerDown()] &lt;- Stuck &lt;--[failure]-+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync V |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +-&gt; PoweredOff --+--&gt;[powerUp()]--&gt; Starting --+ | +-----[resume()]-----+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | | | | V |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | Aborted -----+ +--&gt; Running --[pause()]--&gt; Paused
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | | ^ | ^ |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | Saved -----------[powerUp()]--&gt; Restoring -+ | | | |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | ^ | | | |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | | +-----------------------------------------+-|-------------------+ +
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | | | | |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | | +-- Saving &lt;--------[takeSnapshot()]&lt;-------+---------------------+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | | | |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | +-------- Saving &lt;--------[saveState()]&lt;----------+---------------------+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | | |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +-------------- Stopping -------[powerDown()]&lt;----------+---------------------+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that states to the right from PoweredOff, Aborted and Saved in the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync above diagram are called <i>online VM states</i>. These states
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync represent the virtual machine which is being executed in a dedicated
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync process (usually with a GUI window attached to it where you can see the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync activity of the virtual machine and interact with it). There are two
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync special pseudo-states, FirstOnline and LastOnline, that can be used in
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync relational expressions to detect if the given machine state is online or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync not:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync if (machine.GetState() &gt;= MachineState_FirstOnline &amp;&amp;
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine.GetState() &lt;= MachineState_LastOnline)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync {
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync ...the machine is being executed...
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync }
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync When the virtual machine is in one of the online VM states (that is, being
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync executed), only a few machine settings can be modified. Methods working
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync with such settings contain an explicit note about that. An attempt to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync change any oter setting or perform a modifying operation during this time
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync will result in the <link to="VBOX_E_INVALID_VM_STATE"/> error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync All online states except Running, Paused and Stuck are transitional: they
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync represent temporary conditions of the virtual machine that will last as
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync long as the operation that initiated such a condition.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The Stuck state is a special case. It means that execution of the machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync has reached the "Guru Meditation" condition. This condition indicates an
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync internal VMM (virtual machine manager) failure which may happen as a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync result of either an unhandled low-level virtual hardware exception or one
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync of the recompiler exceptions (such as the <i>too-many-traps</i>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync condition).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync Note also that any online VM state may transit to the Aborted state. This
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync happens if the process that is executing the virtual machine terminates
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync unexpectedly (for example, crashes). Other than that, the Aborted state is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync equivalent to PoweredOff.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync There are also a few additional state diagrams that do not deal with
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual machine execution and therefore are shown separately. The states
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync shown on these diagrams are called <i>offline VM states</i> (this includes
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync PoweredOff, Aborted and Saved too).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The first diagram shows what happens when a lengthy setup operation is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync being executed (such as <link to="IMachine::attachHardDisk"/>).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +-----------------------------------(same sate as before the call)------+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +-&gt; PoweredOff --+ |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | | |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync |-&gt; Aborted -----+--&gt;[lengthy VM configuration call] --&gt; SettingUp -----+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +-&gt; Saved -------+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The next two diagrams demonstrate the process of taking a snapshot of a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync powered off virtual machine and performing one of the "discard..."
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync operations, respectively.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +-----------------------------------(same sate as before the call)------+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +-&gt; PoweredOff --+ |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | +--&gt;[takeSnapshot()] -------------------&gt; Saving ------+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +-&gt; Aborted -----+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +-&gt; PoweredOff --+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | Aborted -----+--&gt;[discardSnapshot() ]-------------&gt; Discarding --+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | | [discardCurrentState()] |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +-&gt; Saved -------+ [discardCurrentSnapshotAndState()] |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync | |
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync +---(Saved if restored from an online snapshot, PoweredOff otherwise)---+
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that the Saving state is present in both the offline state group and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync online state group. Currently, the only way to determine what group is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync assumed in a particular case is to remember the previous machine state: if
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync it was Running or Paused, then Saving is an online state, otherwise it is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync an offline state. This inconsistency may be removed in one of the future
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync versions of VirtualBox by adding a new state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note internal="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For whoever decides to touch this enum: In order to keep the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync comparisons involving FirstOnline and LastOnline pseudo-states valid,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the numeric values of these states must be correspondingly updated if
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync needed: for any online VM state, the condition
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>FirstOnline &lt;= state &lt;= LastOnline</tt> must be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>true</tt>. The same relates to transient states for which
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the condition <tt>FirstOnline &lt;= state &lt;= LastOnline</tt> must be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>true</tt>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Null" value="0">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Null value (nver used by the API).</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="PoweredOff" value="1">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The machine is not running.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Saved" value="2">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The machine is not currently running, but the execution state of the machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync has been saved to an external file when it was running.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Aborted" value="3">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The process running the machine has terminated abnormally.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Running" value="4">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The machine is currently being executed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note internal="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For whoever decides to touch this enum: In order to keep the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync comparisons in the old source code valid, this state must immediately
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync precede the Paused state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Paused" value="5">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Execution of the machine has been paused.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note internal="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For whoever decides to touch this enum: In order to keep the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync comparisons in the old source code valid, this state must immediately
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync follow the Running state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Stuck" value="6">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Execution of the machine has reached the "Guru Meditation"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync condition.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Starting" value="7">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Machine is being started after powering it on from a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync zero execution state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Stopping" value="8">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Machine is being normally stopped powering it off, or after the guest OS
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync has initiated a shutdown sequence.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Saving" value="9">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Machine is saving its execution state to a file or an online
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync snapshot of the machine is being taken.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Restoring" value="10">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Execution state of the machine is being restored from a file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync after powering it on from the saved execution state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Discarding" value="11">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Snapshot of the machine is being discarded.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="SettingUp" value="12">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Lengthy setup operation is in progress.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="FirstOnline" value="4" wsmap="suppress"> <!-- Running -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Pseudo-state: first online state (for use in relational expressions).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="LastOnline" value="10" wsmap="suppress"> <!-- Restoring -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Pseudo-state: last online state (for use in relational expressions).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="FirstTransient" value="7" wsmap="suppress"> <!-- Starting -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Pseudo-state: first transient state (for use in relational expressions).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="LastTransient" value="12" wsmap="suppress"> <!-- SettingUp -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Pseudo-state: last transient state (for use in relational expressions).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="SessionState"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="CF2700C0-EA4B-47ae-9725-7810114B94D8"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Session state. This enumeration represents possible values of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine::sessionState"/> and <link to="ISession::state"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync attributes. See individual enumerator descriptions for the meaning for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync every value.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Null" value="0">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Null value (never used by the API).</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Closed" value="1">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The machine has no open sessions (<link to="IMachine::sessionState"/>);
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the session is closed (<link to="ISession::state"/>)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Open" value="2">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The machine has an open direct session (<link to="IMachine::sessionState"/>);
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the session is open (<link to="ISession::state"/>)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Spawning" value="3">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A new (direct) session is being opened for the machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync as a result of <link to="IVirtualBox::openRemoteSession"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync call (<link to="IMachine::sessionState"/>);
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the session is currently being opened
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync as a result of <link to="IVirtualBox::openRemoteSession"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync call (<link to="ISession::state"/>)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Closing" value="4">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The direct session is being closed (<link to="IMachine::sessionState"/>);
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the session is being closed (<link to="ISession::state"/>)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="SessionType"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="A13C02CB-0C2C-421E-8317-AC0E8AAA153A"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Session type. This enumeration represents possible values of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISession::type"/> attribute.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Null" value="0">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Null value (never used by the API).</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Direct" value="1">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Direct session
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (opened by <link to="IVirtualBox::openSession"/>)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Remote" value="2">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Remote session
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (opened by <link to="IVirtualBox::openRemoteSession"/>)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Existing" value="3">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Existing session
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (opened by <link to="IVirtualBox::openExistingSession"/>)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="DeviceType"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="6d9420f7-0b56-4636-99f9-7346f1b01e57"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Device type.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Null" value="0">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Null value, may also mean "no device" (not allowed for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IConsole::getDeviceActivity"/>).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Floppy" value="1">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Floppy device.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="DVD" value="2">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>CD/DVD-ROM device.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="HardDisk" value="3">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Hard disk device.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Network" value="4">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Network device.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="USB" value="5">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>USB device.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="SharedFolder" value="6">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Shared folder device.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="DeviceActivity"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="6FC8AEAA-130A-4eb5-8954-3F921422D707"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Device activity for <link to="IConsole::getDeviceActivity"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Null" value="0"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Idle" value="1"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Reading" value="2"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Writing" value="3"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="ClipboardMode"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="33364716-4008-4701-8f14-be0fa3d62950"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Host-Guest clipboard interchange mode.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Disabled" value="0"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="HostToGuest" value="1"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="GuestToHost" value="2"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Bidirectional" value="3"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="Scope"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="7c91096e-499e-4eca-9f9b-9001438d7855"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Scope of the operation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A generic enumeration used in various methods to define the action or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync argument scope.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Global" value="0"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Machine" value="1"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Session" value="2"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync <enum
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync name="GuestStatisticType"
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync uuid="aa7c1d71-aafe-47a8-9608-27d2d337cf55"
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Statistics type for <link to="IGuest::getStatistic"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CPULoad_Idle" value="0">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Idle CPU load (0-100%) for last interval.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CPULoad_Kernel" value="1">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Kernel CPU load (0-100%) for last interval.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CPULoad_User" value="2">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync User CPU load (0-100%) for last interval.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Threads" value="3">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Total number of threads in the system.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Processes" value="4">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Total number of processes in the system.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Handles" value="5">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Total number of handles in the system.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="MemoryLoad" value="6">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Memory load (0-100%).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="PhysMemTotal" value="7">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Total physical memory in megabytes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="PhysMemAvailable" value="8">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Free physical memory in megabytes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="PhysMemBalloon" value="9">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Ballooned physical memory in megabytes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="MemCommitTotal" value="10">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Total amount of memory in the committed state in megabytes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="MemKernelTotal" value="11">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Total amount of memory used by the guest OS's kernel in megabytes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="MemKernelPaged" value="12">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Total amount of paged memory used by the guest OS's kernel in megabytes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="MemKernelNonpaged" value="13">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Total amount of non-paged memory used by the guest OS's kernel in megabytes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="MemSystemCache" value="14">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Total amount of memory used by the guest OS's system cache in megabytes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="PageFileSize" value="15">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Pagefile size in megabytes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="SampleNumber" value="16">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Statistics sample number
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="MaxVal" value="17"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="BIOSBootMenuMode"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="ae4fb9f7-29d2-45b4-b2c7-d579603135d5"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync BIOS boot menu mode.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Disabled" value="0"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="MenuOnly" value="1"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="MessageAndMenu" value="2"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="DriveState"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="cb7233b7-c519-42a5-8310-1830953cacbc"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Null" value="0">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Null value (never used by the API).</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </const>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="NotMounted" value="1"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="ImageMounted" value="2"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="HostDriveCaptured" value="3"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="ProcessorFeature"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="b8353b35-705d-4796-9967-ebfb7ba54af4"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync CPU features.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="HWVirtEx" value="0"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="PAE" value="1"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="LongMode" value="2"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!--
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync // IVirtualBoxErrorInfo
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync /////////////////////////////////////////////////////////////////////////
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IVirtualBoxErrorInfo" extends="$errorinfo"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="e98b5376-8eb4-4eea-812a-3964bf3bb26f"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync supportsErrorInfo="no"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="suppress"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The IVirtualBoxErrorInfo interface represents extended error information.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Extended error information can be set by VirtualBox components after
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync unsuccessful or partially successful method invocation. This information
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync can be retrieved by the calling party as an IVirtualBoxErrorInfo object
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and then shown to the client in addition to the plain 32-bit result code.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In MS COM, this interface extends the IErrorInfo interface,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync in XPCOM, it extends the nsIException interface. In both cases,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync it provides a set of common attributes to retrieve error
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync information.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Sometimes invocation of some component's method may involve methods of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync other components that may also fail (independently of this method's
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync failure), or a series of non-fatal errors may precede a fatal error that
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync causes method failure. In cases like that, it may be desirable to preserve
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync information about all errors happened during method invocation and deliver
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync it to the caller. The <link to="#next"/> attribute is intended
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync specifically for this purpose and allows to represent a chain of errors
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync through a single IVirtualBoxErrorInfo object set after method invocation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that errors are stored to a chain in the reverse order, i.e. the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync initial error object you query right after method invocation is the last
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync error set by the callee, the object it points to in the @a next attribute
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is the previous error and so on, up to the first error (which is the last
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync in the chain).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="resultCode" type="result" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Result code of the error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Usually, it will be the same as the result code returned
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync by the method that provided this error information, but not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync always. For example, on Win32, CoCreateInstance() will most
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync likely return E_NOINTERFACE upon unsuccessful component
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync instantiation attempt, but not the value the component factory
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync returned.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In MS COM, there is no equivalent.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In XPCOM, it is the same as nsIException::result.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="interfaceID" type="uuid" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync UUID of the interface that defined the error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In MS COM, it is the same as IErrorInfo::GetGUID.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In XPCOM, there is no equivalent.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="component" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Name of the component that generated the error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In MS COM, it is the same as IErrorInfo::GetSource.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In XPCOM, there is no equivalent.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="text" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Text description of the error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In MS COM, it is the same as IErrorInfo::GetDescription.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In XPCOM, it is the same as nsIException::message.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="next" type="IVirtualBoxErrorInfo" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync Next error object if there is any, or @c null otherwise.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync In MS COM, there is no equivalent.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In XPCOM, it is the same as nsIException::inner.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </interface>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!--
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync // IVirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync /////////////////////////////////////////////////////////////////////////
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IVirtualBoxCallback" extends="$unknown"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="5516cc08-fb81-47a6-b184-031e7bbd2997"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="suppress"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onMachineStateChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The execution state of the given machine has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>IMachine::state</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the machine this event relates to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="state" type="MachineState" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>New execution state.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onMachineDataChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Any of the settings of the given machine has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the machine this event relates to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onExtraDataCanChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when someone tries to change extra data for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync either the given machine or (if null) global extra data.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This gives the chance to veto against changes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync ID of the machine this event relates to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (null ID for global extra data change requests).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="key" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Extra data key for the attempted write.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Extra data value for the given key.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="error" type="wstring" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Optional error message describing the reason of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync veto (ignored if this notification returns @c true).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="allowChange" type="boolean" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Flag to indicate whether the callee agrees (@c true)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync or vetoes against the change (@c false).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onExtraDataChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when machine specific or global extra data
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync ID of the machine this event relates to.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Null for global extra data changes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="key" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Extra data key that has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Extra data value for the given key.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onMediaRegistered">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The given media was registered or unregistered
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync within this VirtualBox installation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The @a mediaType parameter describes what type of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync media the specified @a mediaId refers to. Possible
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync values are:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="DeviceType_HardDisk"/>: the media is a hard disk
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync that, if registered, can be obtained using the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::getHardDisk"/> call.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="DeviceType_DVD"/>: the media is a CD/DVD image
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync that, if registered, can be obtained using the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::getDVDImage"/> call.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="DeviceType_Floppy"/>: the media is a Floppy image
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync that, if registered, can be obtained using the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::getFloppyImage"/> call.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that if this is a deregistration notification,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync there is no way to access the object representing the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync unregistered media. It is supposed that the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync application will do required cleanup based on the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a mediaId value.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="mediaId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the media this event relates to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="mediaType" type="DeviceType" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Type of the media this event relates to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="registered" type="boolean" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If true, the media was registered, otherwise it was
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync unregistered.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onMachineRegistered">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The given machine was registered or unregistered
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync within this VirtualBox installation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the machine this event relates to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="registered" type="boolean" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If true, the machine was registered, otherwise it was
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync unregistered.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onSessionStateChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The state of the session for the given machine was changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>IMachine::sessionState</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the machine this event relates to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="state" type="SessionState" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>New session state.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onSnapshotTaken">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A new snapshot of the machine has been taken.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>ISnapshot</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the machine this event relates to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="snapshotId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the new snapshot.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onSnapshotDiscarded">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Snapshot of the given machine has been discarded.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This notification is delivered <b>after</b> the snapshot
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync object has been uninitialized on the server (so that any
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync attempt to call its methods will return an error).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>ISnapshot</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the machine this event relates to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="snapshotId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync ID of the discarded snapshot. <tt>null</tt> means the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync current machine state has been discarded (restored from
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the current snapshot).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onSnapshotChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Snapshot properties (name and/or description) have been changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>ISnapshot</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the machine this event relates to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="snapshotId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the changed snapshot.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onGuestPropertyChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a guest property has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync ID of the machine this event relates to.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The name of the property that has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The new property value.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="flags" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The new property flags.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </interface>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IDHCPServer" extends="$unknown"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="6cfe387c-74fb-4ca7-bff6-973bec8af7a3"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="managed"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The IDHCPServer interface represents the vbox dhcp server configuration.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync To enumerate all the dhcp servers on the host, use the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::DHCPServers"/> attribute.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="enabled" type="boolean">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync specifies if the dhcp server is enabled
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="IPAddress" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync specifies server IP
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="networkMask" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync specifies server network mask
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="networkName" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync specifies internal network name the server is used for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="lowerIP" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync specifies from IP adrres in server address range
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="upperIP" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync specifies to IP adrres in server address range
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="setConfiguration">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync configures the server
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync invalid configuration supplied
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="IPAddress" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync server IP address
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="networkMask" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync server network mask
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="FromIPAddress" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync server From IP address for address range
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="ToIPAddress" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync server To IP address for address range
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="start">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Starts DHCP server process.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_FAIL">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Failed to start the process.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="networkName" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Name of internal network DHCP server should attach to.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="trunkName" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Name of internal network trunk.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="trunkType" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Type of internal network trunk.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="stop">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Stops DHCP server process.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_FAIL">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Failed to stop the process.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </interface>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IVirtualBox" extends="$dispatched"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="779264f4-65ed-48ed-be39-518ca549e296"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="managed"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The IVirtualBox interface represents the main interface exposed by the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync product that provides virtual machine management.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync An instance of IVirtualBox is required for the product to do anything
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync useful. Even though the interface does not expose this, internally,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync IVirtualBox is implemented as a singleton and actually lives in the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync process of the VirtualBox server (VBoxSVC.exe). This makes sure that
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync IVirtualBox can track the state of all virtual machines on a particular
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync host, regardless of which frontend started them.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync To enumerate all the virtual machines on the host, use the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::machines"/> attribute.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="version" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A string representing the version number of the product. The
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync format is 3 integer numbers divided by dots (e.g. 1.0.1). The
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync last number represents the build number and will frequently change.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="revision" type="unsigned long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The internal build revision number of the product.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="packageType" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A string representing the package type of this product. The
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync format is OS_ARCH_DIST where OS is either WINDOWS, LINUX,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync SOLARIS, DARWIN. ARCH is either 32BITS or 64BITS. DIST
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is either GENERIC, UBUNTU_606, UBUNTU_710, or something like
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync this.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="homeFolder" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Full path to the directory where the global settings file,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>VirtualBox.xml</tt>, is stored.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In this version of VirtualBox, the value of this property is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync always <tt>&lt;user_dir&gt;/.VirtualBox</tt> (where
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>&lt;user_dir&gt;</tt> is the path to the user directory,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync as determined by the host OS), and cannot be changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This path is also used as the base to resolve relative paths in
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync places where relative paths are allowed (unless otherwise
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync expressly indicated).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="settingsFilePath" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Full name of the global settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The value of this property corresponds to the value of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#homeFolder"/> plus <tt>/VirtualBox.xml</tt>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="settingsFileVersion" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Current version of the format of the global VirtualBox settings file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (<tt>VirtualBox.xml</tt>).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The version string has the following format:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync x.y-platform
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync where <tt>x</tt> and <tt>y</tt> are the major and the minor format
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync versions, and <tt>platform</tt> is the platform identifier.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The current version usually matches the value of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#settingsFormatVersion"/> attribute unless the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings file was created by an older version of VirtualBox and there
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync was a change of the settings file format since then.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that VirtualBox automatically converts settings files from older
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync versions to the most recent version when reading them (usually at
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VirtualBox startup) but it doesn't save the changes back until
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync you call a method that implicitly saves settings (such as
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#setExtraData"/>) or call <link to="#saveSettings"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync explicitly. Therefore, if the value of this attribute differs from the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync value of <link to="#settingsFormatVersion"/>, then it
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync means that the settings file was converted but the result of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync conversion is not yet saved to disk.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The above feature may be used by interactive front-ends to inform users
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync about the settings file format change and offer them to explicitly save
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync all converted settings files (the global and VM-specific ones),
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync optionally create backup copies of the old settings files before saving,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync etc.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>settingsFormatVersion, saveSettingsWithBackup()</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="settingsFormatVersion" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Most recent version of the settings file format.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The version string has the following format:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync x.y-platform
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync where <tt>x</tt> and <tt>y</tt> are the major and the minor format
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync versions, and <tt>platform</tt> is the platform identifier.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VirtualBox uses this version of the format when saving settings files
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (either as a result of method calls that require to save settings or as
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync a result of an explicit call to <link to="#saveSettings"/>).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>settingsFileVersion</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="host" type="IHost" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Associated host object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="systemProperties" type="ISystemProperties" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Associated system information object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="machines" type="IMachine" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Array of machine objects registered within this VirtualBox instance.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="hardDisks" type="IHardDisk" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Array of hard disk objects known to this VirtualBox installation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This array contains only base (root) hard disks. All differencing
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync hard disks of the given base hard disk can be enumerated using
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IHardDisk::children"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="DVDImages" type="IDVDImage" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Array of CD/DVD image objects registered with this VirtualBox instance.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="floppyImages" type="IFloppyImage" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Array of floppy image objects registered with this VirtualBox instance.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="progressOperations" type="IProgress" readonly="yes" safearray="yes"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="guestOSTypes" type="IGuestOSType" readonly="yes" safearray="yes"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="sharedFolders" type="ISharedFolder" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Collection of global shared folders. Global shared folders are
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync available to all virtual machines.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync New shared folders are added to the collection using
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#createSharedFolder"/>. Existing shared folders can be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync removed using <link to="#removeSharedFolder"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In the current version of the product, global shared folders are not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync implemented and therefore this collection is always empty.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="performanceCollector" type="IPerformanceCollector" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Associated performance collector object.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="DHCPServers" type="IDHCPServer" safearray="yes" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync dhcp server settings.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="createMachine">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Creates a new virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The new machine is created unregistered, with the initial configuration
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync set according to the specified guest OS type. A typical sequence of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync actions to create a new virtual machine is as follows:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Call this method to have a new machine created. The returned machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync object will be "mutable" allowing to change any machine property.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Configure the machine using the appropriate attributes and methods.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Call <link to="IMachine::saveSettings" /> to write the settings
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to the machine's XML settings file. The configuration of the newly
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync created machine will not be saved to disk until this method is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync called.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Call <link to="#registerMachine" /> to add the machine to the list
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync of machines known to VirtualBox.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync You should specify valid name for the newly created machine when calling
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync this method. See the <link to="IMachine::name"/> attribute description
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync for more details about the machine name.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The specified guest OS type identifier must match an ID of one of known
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync guest OS types listed in the <link to="IVirtualBox::guestOSTypes"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Every machine has a <i>settings file</i> that is used to store
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the machine configuration. This file is stored in a directory called the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <i>machine settings subfolder</i>. Both the settings subfolder and file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync will have a name that corresponds to the name of the virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync You can specify where to create the machine setting subfolder using the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a baseFolder argument. The base folder can be absolute (full path) or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync relative to the <link to="IVirtualBox::homeFolder">VirtualBox home
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync directory</link>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If @a baseFolder is a null or empty string (which is recommended), the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::defaultMachineFolder">default machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings folder</link> will be used as a base folder for the created
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine. Otherwise the given base folder will be used. In either case,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the full path to the resulting settings file has the following
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync structure:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync &lt;base_folder&gt;/&lt;machine_name&gt;/&lt;machine_name&gt;.xml
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that if the resulting settings file already exists, this method
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync will fail with <link to="VBOX_E_FILE_ERROR"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Optionally, you may specify an UUID of to assign to the created machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync However, this is not recommended and you should normally pass an empty
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (null) UUID to this method so that a new UUID will be automatically
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync generated for every created machine. You can use UUID
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync 00000000-0000-0000-0000-000000000000 as null value.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync There is no way to change the name of the settings file or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync subfolder of the created machine directly.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a osTypeId is invalid.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Resulting settings file name is invalid or the settings file already
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync exists or could not be created due to an I/O error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a name is empty or null.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Machine name.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="osTypeId" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Guest OS Type ID.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="baseFolder" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Base machine folder (optional).</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Machine UUID (optional).</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machine" type="IMachine" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Created machine object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="createLegacyMachine">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Creates a new virtual machine in "legacy" mode, using the specified
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings file to store machine settings.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync As opposed to machines created by <link to="#createMachine"/>,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the settings file of the machine created in "legacy" mode is not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync automatically renamed when the machine name is changed -- it will always
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync remain the same as specified in this method call.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The specified settings file name can be absolute (full path) or relative
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to the <link to="IVirtualBox::homeFolder">VirtualBox home
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync directory</link>. If the file name doesn't contain an extension, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync default extension (.xml) will be appended.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that the configuration of the newly created machine is not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync saved to disk (and therefore no settings file is created)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync until <link to="IMachine::saveSettings"/> is called. If the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync specified settings file already exists, this method
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync will fail with <link to="VBOX_E_FILE_ERROR"/>..
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync See <link to="#createMachine"/> for more information.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @deprecated This method may be removed later. Use <link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="IVirtualBox::createMachine"/> instead.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync There is no way to change the name of the settings file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync of the machine created in "legacy" mode.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a osTypeId is invalid.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a settingsFile is invalid or the settings file already exists or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync could not be created due to an I/O error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a name or @a settingsFile is empty or null.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Machine name.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="osTypeId" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Machine OS Type ID.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="settingsFile" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the machine settings file.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Machine UUID (optional).</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machine" type="IMachine" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Created machine object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="openMachine">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Opens a virtual machine from the existing settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The opened machine remains unregistered until you call
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#registerMachine"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The specified settings file name can be absolute
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (full path) or relative to the <link to="IVirtualBox::homeFolder">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VirtualBox home directory</link>. This file must exist
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and must be a valid machine settings file whose contents
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync will be used to construct the machine object.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @deprecated Will be removed soon.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Settings file name invalid, not found or sharing violation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="settingsFile" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Name of the machine settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machine" type="IMachine" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Opened machine object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine::settingsModified"/> will return
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync false for the created machine, until any of machine settings
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync are changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="registerMachine">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Registers the machine previously created using
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#createMachine"/> or opened using
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#openMachine"/> within this VirtualBox installation. After
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync successful method invocation, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBoxCallback::onMachineRegistered"/> signal is sent
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to all registered callbacks.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method implicitly calls <link to="IMachine::saveSettings"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to save all current machine settings before registering it.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No matching virtual machine found.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine was not created within this VirtualBox instance.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machine" type="IMachine" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getMachine">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Attempts to find a virtual machine given its UUID.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync To look up a machine by name, use <link to="IVirtualBox::findMachine" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync instead.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not find registered machine matching @a id.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machine" type="IMachine" dir="return"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="findMachine">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Attempts to find a virtual machine given its name.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync To look up a machine by UUID, use <link to="IVirtualBox::getMachine" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync instead.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not find registered machine matching @a name.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machine" type="IMachine" dir="return"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="unregisterMachine">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Unregisters the machine previously registered using
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#registerMachine"/>. After successful method invocation, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBoxCallback::onMachineRegistered"/> signal is sent
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to all registered callbacks.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The specified machine must not be in the Saved state, have an open
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (or a spawning) direct session associated with it, have snapshots or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync have hard disks attached.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method implicitly calls <link to="IMachine::saveSettings"/> to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync save all current machine settings before unregistering it.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the given machine is inaccessible (see
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine::accessible"/>), it will be unregistered and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync fully uninitialized right afterwards. As a result, the returned
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine object will be unusable and an attempt to call
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <b>any</b> method will return the "Object not ready" error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not find registered machine matching @a id.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Machine is in Saved state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Machine has snapshot or open session or hard disk attached.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>UUID of the machine to unregister.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machine" type="IMachine" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Unregistered machine object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="createAppliance">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Creates a new appliance object, which represents an appliance in the Open Virtual Machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Format (OVF). This can then be used to import an OVF appliance into VirtualBox or to export
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machines as an OVF appliance; see the documentation for <link to="IAppliance" /> for details.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="appliance" type="IAppliance" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>New appliance.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="createHardDisk">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Creates a new base hard disk object that will use the given storage
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync format and location for hard disk data.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that the actual storage unit is not created by this method. In
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync order to do it, and before you are able to attach the created hard disk
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to virtual machines, you must call one of the following methods to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync allocate a format-specific storage unit at the specified location:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="IHardDisk::createBaseStorage"/></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="IHardDisk::createDiffStorage"/></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Some hard disk attributes, such as <link to="IHardDisk::id"/>, may
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync remain uninitialized until the hard disk storage unit is successfully
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync created by one of the above methods.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync After the storage unit is successfully created, the hard disk gets
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync remembered by this VirtualBox installation and will be accessible
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync through <link to="#getHardDisk"/> and <link to="#findHardDisk"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync methods. Remembered root (base) hard disks are also returned as part of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the <link to="#hardDisks"/> array. See IHardDisk for more details.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The list of all storage formats supported by this VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync installation can be obtained using
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::hardDiskFormats"/>. If the @a format
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync attribute is empty or <tt>null</tt> then the default storage format
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync specified by <link to="ISystemProperties::defaultHardDiskFormat"/> will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync be used for creating a storage unit of the hard disk.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that the format of the location string is storage format specific.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync See <link to="IMedium::location"/>, IHardDisk and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::defaultHardDiskFolder"/> for more details.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a format identifier is invalid. See
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::hardDiskFormats"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a location is a not valid file name (for file-based formats only).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a format is a null or empty string.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="format" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Identifier of the storage format to use for the new hard disk.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="location" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Location of the storage unit for the new hard disk.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="hardDisk" type="IHardDisk" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Created hard disk object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="openHardDisk">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Opens a hard disk from an existing location.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync After the hard disk is successfully opened by this method, it gets
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync remembered by (known to) this VirtualBox installation and will be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync accessible through <link to="#getHardDisk"/> and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#findHardDisk"/> methods. Remembered root (base) hard disks
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync are also returned as part of the <link to="#hardDisks"/> array and can
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync be attached to virtual machines. See IHardDisk for more details.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If a differencing hard disk is to be opened by this method, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync operation will succeed only if its parent hard disk and all ancestors,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync if any, are already known to this VirtualBox installation (for example,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync were opened by this method before).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method tries to guess the storage format of the specified hard disk
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync by reading hard disk data at the specified location.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If @a write is ReadWrite (which it should be), the image is opened for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync read/write access and must have according permissions, as VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync may actually write status information into the disk's metadata sections.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that write access is required for all typical image usage in VirtualBox,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync since VirtualBox may need to write metadata such as a UUID into the image.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The only exception is opening a source image temporarily for copying and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync cloning when the image will quickly be closed again.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that the format of the location string is storage format specific.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync See <link to="IMedium::location"/>, IHardDisk and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::defaultHardDiskFolder"/> for more details.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid hard disk storage file location.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_IPRT_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not get hard disk storage format.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid hard disk storage format.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="location" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Location of the storage unit that contains hard disk data in one of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the supported storage formats.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="accessMode" type="AccessMode" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Determines whether to open the image in read/write or read-only mode.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="hardDisk" type="IHardDisk" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Opened hard disk object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getHardDisk" const="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns a hard disk with the given UUID.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The hard disk with the given UUID must be known to this VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync installation, i.e. it must be previously created by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#createHardDisk"/> or opened by <link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="#openHardDisk"/>, or attached to some known virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No hard disk object matching @a id found.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>UUID of the hard disk to look for.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="hardDisk" type="IHardDisk" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Found hard disk object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="findHardDisk">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns a hard disk that uses the given location to store hard
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync disk data.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The given hard disk must be known to this VirtualBox installation, i.e.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync it must be previously created by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#createHardDisk"/> or opened by <link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="#openHardDisk"/>, or attached to some known virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The search is done by comparing the value of the @a location argument to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the <link to="IHardDisk::location"/> attribute of each known hard
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync disk.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For locations represented by file names in the host's file system, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync requested location can be a path relative to the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::homeFolder">VirtualBox home folder</link>. If
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync only a file name without any path is given, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::defaultHardDiskFolder"> default hard disk
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync folder</link> will be prepended to the file name before searching. Note
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync that on case sensitive file systems, a case sensitive comparison is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync performed, otherwise the case of symbols in the file path is ignored.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No hard disk object matching @a location found.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="location" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Location string to search for.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="hardDisk" type="IHardDisk" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Found hard disk object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="openDVDImage">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Opens a CD/DVD image contained in the specified file of the supported
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync format and assigns it the given UUID.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync After the image is successfully opened by this method, it gets
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync remembered by (known to) this VirtualBox installation and will be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync accessible through <link to="#getDVDImage"/> and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#findDVDImage"/> methods. Remembered images are also
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync returned as part of the <link to="#DVDImages"/> array and can be mounted
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to virtual machines. See IMedium for more details.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync See <link to="IMedium::location"/> to get more details about the format
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync of the location string.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Currently only ISO 9960 CD/DVD images are supported by VirtualBox.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync CD/DVD image already exists in the media registry.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="location" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Full path to the file that contains a valid CD/DVD image.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync UUID to assign to the given image within this VirtualBox installation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If an empty (null) UUID is specified, the system will randomly
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync generate a new UUID.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="image" type="IDVDImage" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Opened CD/DVD image object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getDVDImage">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns a CD/DVD image with the given UUID.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The image with the given UUID must be known to this VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync installation, i.e. it must be previously opened by <link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="#openDVDImage"/>, or mounted to some known virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No matching DVD image found in the media registry.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>UUID of the image to look for.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="image" type="IDVDImage" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Found CD/DVD image object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="findDVDImage">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns a CD/DVD image with the given image location.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The image with the given UUID must be known to this VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync installation, i.e. it must be previously opened by <link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="#openDVDImage"/>, or mounted to some known virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The search is done by comparing the value of the @a location argument to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the <link to="IMedium::location"/> attribute of each known CD/DVD image.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The requested location can be a path relative to the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::homeFolder">VirtualBox home folder</link>. If
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync only a file name without any path is given, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::defaultHardDiskFolder"> default hard disk
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync folder</link> will be prepended to the file name before searching. Note
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync that on case sensitive file systems, a case sensitive comparison is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync performed, otherwise the case in the file path is ignored.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid image file location.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No matching DVD image found in the media registry.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="location" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>CD/DVD image file path to look for.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="image" type="IDVDImage" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Found CD/DVD image object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="openFloppyImage">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Opens a floppy image contained in the specified file of the supported
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync format and assigns it the given UUID.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync After the image is successfully opened by this method, it gets
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync remembered by (known to) this VirtualBox installation and will be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync accessible through <link to="#getFloppyImage"/> and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#findFloppyImage"/> methods. Remembered images are also
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync returned as part of the <link to="#floppyImages"/> array and can be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync mounted to virtual machines. See IMedium for more details.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync See <link to="IMedium::location"/> to get more details about the format
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync of the location string.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Floppy image specified by @a location not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Floppy image already exists in the media registry.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Currently, only raw floppy images are supported by VirtualBox.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="location" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Full path to the file that contains a valid floppy image.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync UUID to assign to the given image file within this VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync installation. If an empty (null) UUID is specified, the system will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync randomly generate a new UUID.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="image" type="IFloppyImage" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Opened floppy image object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getFloppyImage">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns a floppy image with the given UUID.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The image with the given UUID must be known to this VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync installation, i.e. it must be previously opened by <link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="#openFloppyImage"/>, or mounted to some known virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No matching floppy image found in the media registry.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>UUID of the image to look for.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="image" type="IFloppyImage" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Found floppy image object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="findFloppyImage">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns a floppy image with the given image location.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The image with the given UUID must be known to this VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync installation, i.e. it must be previously opened by <link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="#openFloppyImage"/>, or mounted to some known virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The search is done by comparing the value of the @a location argument to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the <link to="IMedium::location"/> attribute of each known floppy image.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The requested location can be a path relative to the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::homeFolder">VirtualBox home folder</link>. If
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync only a file name without any path is given, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::defaultHardDiskFolder"> default hard disk
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync folder</link> will be prepended to the file name before searching. Note
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync that on case sensitive file systems, a case sensitive comparison is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync performed, otherwise the case of symbols in the file path is ignored.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid image file location.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No matching floppy image found in the media registry.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="location" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Floppy image file path to look for.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="image" type="IFloppyImage" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Found floppy image object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getGuestOSType">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns an object describing the specified guest OS type.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The requested guest OS type is specified using a string which is a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync mnemonic identifier of the guest operating system, such as
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>"win31"</tt> or <tt>"ubuntu"</tt>. The guest OS type ID of a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync particular virtual machine can be read or set using the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine::OSTypeId"/> attribute.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The <link to="IVirtualBox::guestOSTypes"/> collection contains all
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync available guest OS type objects. Each object has an
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IGuestOSType::id"/> attribute which contains an identifier of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the guest OS this object describes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a id is not a valid Guest OS type.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Guest OS type ID string.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="type" type="IGuestOSType" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Guest OS type object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="createSharedFolder">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Creates a new global shared folder by associating the given logical
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name with the given host path, adds it to the collection of shared
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync folders and starts sharing it. Refer to the description of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISharedFolder"/> to read more about logical names.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In the current implementation, this operation is not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync implemented.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Unique logical name of the shared folder.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="hostPath" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Full path to the shared folder in the host file system.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="writable" type="boolean" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Whether the share is writable or readonly</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="removeSharedFolder">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Removes the global shared folder with the given name previously
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync created by <link to="#createSharedFolder"/> from the collection of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync shared folders and stops sharing it.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In the current implementation, this operation is not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync implemented.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Logical name of the shared folder to remove.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getNextExtraDataKey">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns the global extra data key name following the supplied key.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync An error is returned if the supplied @a key does not exist. @c NULL is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync returned in @a nextKey if the supplied key is the last key. When
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync supplying @c NULL or an empty string for the @a key, the first key item
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is returned in @a nextKey (if there is any). @a nextValue is an optional
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync parameter and if supplied, the next key's value is returned in it.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Extra data @a key not found.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="key" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the data key to follow.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="nextKey" type="wstring" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the next data key.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="nextValue" type="wstring" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Value of the next data key.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getExtraData">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns associated global extra data.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the requested data @a key does not exist, this function will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync succeed and return @c NULL in the @a value argument.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Settings file not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_XML_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not parse the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="key" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the data key to get.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Value of the requested data key.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="setExtraData">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Sets associated global extra data.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If you pass @c NULL as a key @a value, the given @a key will be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync deleted.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Before performing the actual data change, this method will ask all
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync registered callbacks using the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBoxCallback::onExtraDataCanChange"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync notification for a permission. If one of the callbacks refuses the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync new value, the change will not be performed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync On success, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBoxCallback::onExtraDataChange"/> notification
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is called to inform all registered callbacks about a successful data
e94ff1af89bf631c68367d4e291ddbb491b5e5c0vboxsync change.
e94ff1af89bf631c68367d4e291ddbb491b5e5c0vboxsync </note>
e94ff1af89bf631c68367d4e291ddbb491b5e5c0vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Settings file not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_XML_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not parse the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_ACCESSDENIED">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Modification request refused.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="key" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the data key to set.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Value to assign to the key.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="openSession">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Opens a new direct session with the given virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A direct session acts as a local lock on the given VM.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync There can be only one direct session open at a time for every
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual machine, protecting the VM from being manipulated by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync conflicting actions from different processes. Only after a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync direct session has been opened, one can change all VM settings
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and execute the VM in the process space of the session object.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Sessions therefore can be compared to mutex semaphores that
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync lock a given VM for modification and execution.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync See <link to="ISession">ISession</link> for details.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>Unless you are writing a new VM frontend, you will not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync want to execute a VM in the current process. To spawn a new
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync process that executes a VM, use
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::openRemoteSession" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync instead.</note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Upon successful return, the session object can be used to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync get access to the machine and to the VM console.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In VirtualBox terminology, the machine becomes "mutable" after
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync a session has been opened. Note that the "mutable" machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync object, on which you may invoke IMachine methods to change its
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings, will be a different object from the immutable IMachine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync objects returned by various IVirtualBox methods. To obtain a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync mutable IMachine object (upon which you can invoke settings methods),
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync use the <link to="ISession::machine" /> attribute.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync One must always call <link to="ISession::close" /> to release the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync lock on the machine, or the machine's state will eventually be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync set to "Aborted".
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In other words, to change settings on a machine, the following
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync sequence is typically performed:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Call this method (openSession) to have a machine locked for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the current session.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Obtain a mutable IMachine object from <link to="ISession::machine" />.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Change the settings of the machine.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Call <link to="IMachine::saveSettings" />.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Close the session by calling <link to="ISession::close"/>.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_UNEXPECTED">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine not registered.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_ACCESSDENIED">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Process not started by OpenRemoteSession.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No matching virtual machine found.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Session already open or being opened.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_VM_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Failed to assign machine to session.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="session" type="ISession" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Session object that will represent the opened session after
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync successful method invocation. This object must not represent
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the already open session.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This session will be automatically closed if the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VirtualBox server is terminated for some reason.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the virtual machine to open a session with.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="openRemoteSession">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Spawns a new process that executes a virtual machine (called a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "remote session").
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Opening a remote session causes the VirtualBox server to start a new
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync process that opens a direct session with the given VM. As a result, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VM is locked by that direct session in the new process, preventing
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync conflicting changes from other processes. Since sessions act as locks
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync that prevent conflicting changes, one cannot open a remote session
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync for a VM that already has another open session (direct or remote), or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is currently in the process of opening one (see <link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="IMachine::sessionState"/>).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync While the remote session still provides some level of control over the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VM execution to the caller (using the <link to="IConsole" /> interface),
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync not all VM settings are available for modification within the remote
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync session context.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This operation can take some time (a new VM is started in a new process,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync for which memory and other resources need to be set up). Because of this,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync an <link to="IProgress" /> is returned to allow the caller to wait for this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync asynchronous operation to be completed. Until then, the remote session
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync object remains in the closed state, and accessing the machine or its
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync console through it is invalid. It is recommended to use
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IProgress::waitForCompletion" /> or similar calls to wait for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync completion.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync As with all <link to="ISession" /> objects, it is recommended to call
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISession::close" /> on the local session object once openRemoteSession()
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync has been called. However, the session's state (see <link to="ISession::state" />)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync will not return to "Closed" until the remote session has also closed (i.e.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync until the VM is no longer running). In that case, however, the state of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the session will automatically change back to "Closed".
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Currently supported session types (values of the @a type
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync argument) are:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><tt>gui</tt>: VirtualBox Qt GUI session</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><tt>vrdp</tt>: VirtualBox VRDP Server session</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The @a environment argument is a string containing definitions of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync environment variables in the following format:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @code
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NAME[=VALUE]\n
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync NAME[=VALUE]\n
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync ...
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @endcode
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync where <tt>\\n</tt> is the new line character. These environment
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync variables will be appended to the environment of the VirtualBox server
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync process. If an environment variable exists both in the server process
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and in this list, the value from this list takes precedence over the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync server's variable. If the value of the environment variable is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync omitted, this variable will be removed from the resulting environment.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the environment string is @c null, the server environment is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync inherited by the started process as is.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>openExistingSession</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_UNEXPECTED">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine not registered.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid session type @a type.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No machine matching @a machineId found.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Session already open or being opened.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_IPRT_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Launching process for machine failed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_VM_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Failed to assign machine to session.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="session" type="ISession" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Session object that will represent the opened remote session
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync after successful method invocation (this object must not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync represent an already open session).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the virtual machine to open a session with.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="type" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Type of the remote session (case sensitive).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="environment" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Environment to pass to the opened session (may be @c null).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="progress" type="IProgress" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Progress object to track the operation completion.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="openExistingSession">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Opens a new remote session with the virtual machine for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync which a direct session is already open.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The remote session provides some level of control over the VM
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync execution (using the IConsole interface) to the caller; however,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync within the remote session context, not all VM settings are available
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync for modification.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync As opposed to <link to="#openRemoteSession"/>, the number of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync remote sessions opened this way is not limited by the API
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync It is an error to open a remote session with the machine that
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync doesn't have an open direct session.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_UNEXPECTED">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine not registered.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No machine matching @a machineId found.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Session already open or being opened.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_SESSION_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Direct session state not Open.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_VM_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Failed to get console object from direct session or assign
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine to session.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>openRemoteSession</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="session" type="ISession" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Session object that will represent the open remote session
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync after successful method invocation. This object must not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync represent an already open session.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This session will be automatically closed when the peer
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (direct) session dies or gets closed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineId" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ID of the virtual machine to open a session with.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="registerCallback">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Registers a new global VirtualBox callback. The methods of the given
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync callback object will be called by VirtualBox when an appropriate
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync event occurs.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A @c NULL callback cannot be registered.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="callback" type="IVirtualBoxCallback" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Callback object to register.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="unregisterCallback">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Unregisters the previously registered global VirtualBox callback.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Specified @a callback not registered.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="callback" type="IVirtualBoxCallback" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Callback object to unregister.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="waitForPropertyChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Blocks the caller until any of the properties represented by the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a what argument changes the value or until the given timeout interval
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync expires.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The @a what argument is a comma separated list of property masks that
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync describe properties the caller is interested in. The property mask is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync a string in the following format:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync [[group.]subgroup.]name
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync where @c name is the property name and @c group, @c subgroup are zero
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync or more property group specifiers. Each element (group or name) in
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the property mask may be either a Latin string or an asterisk symbol
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (@c "*") which is used to match any string for the given element. A
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync property mask that doesn't contain asterisk symbols represents a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync single fully qualified property name.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Groups in the fully qualified property name go from more generic (the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync left-most part) to more specific (the right-most part). The first
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync element is usually a name of the object the property belongs to. The
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync second element may be either a property name, or a child object name,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync or an index if the preceding element names an object which is one of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync many objects of the same type. This way, property names form a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync hierarchy of properties. Here are some examples of property names:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <table>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td><tt>VirtualBox.version</tt></td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td><link to="IVirtualBox::version"/> property</td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td><tt>Machine.&lt;UUID&gt;.name</tt></td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td><link to="IMachine::name"/> property of the machine with the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync given UUID</td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </table>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Most property names directly correspond to the properties of objects
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (components) provided by the VirtualBox library and may be used to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync track changes to these properties. However, there may be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync pseudo-property names that don't correspond to any existing object's
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync property directly, as well as there may be object properties that
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync don't have a corresponding property name that is understood by this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync method, and therefore changes to such properties cannot be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync tracked. See individual object's property descriptions to get a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync fully qualified property name that can be used with this method (if
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync any).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync There is a special property mask @c "*" (i.e. a string consisting of a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync single asterisk symbol) that can be used to match all properties.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Below are more examples of property masks:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <table>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td><tt>VirtualBox.*</tt></td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td>Track all properties of the VirtualBox object</td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td><tt>Machine.*.name</tt></td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <td>Track changes to the <link to="IMachine::name"/> property of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync all registered virtual machines</td>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </tr>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </table>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This function is not implemented in the current version of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync product.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="what" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Comma separated list of property masks.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="timeout" type="unsigned long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Wait timeout in milliseconds.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Specify -1 for an indefinite wait.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="changed" type="wstring" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Comma separated list of properties that have been changed and caused
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync this method to return to the caller.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="values" type="wstring" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Reserved, not currently used.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="saveSettings">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Saves the global settings to the global settings file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (<link to="#settingsFilePath"/>).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method is only useful for explicitly saving the global settings
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync file after it has been auto-converted from the old format to the most
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync recent format (see <link to="#settingsFileVersion"/> for details).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Normally, the global settings file is implicitly saved when a global
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync setting is changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Settings file not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_XML_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not parse the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="saveSettingsWithBackup">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Creates a backup copy of the global settings file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (<link to="#settingsFilePath"/>) in case of auto-conversion, and then
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync calls <link to="#saveSettings"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that the backup copy is created <b>only</b> if the settings file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync auto-conversion took place (see <link to="#settingsFileVersion"/> for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync details). Otherwise, this call is fully equivalent to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#saveSettings"/> and no backup copying is done.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The backup copy is created in the same directory where the original
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings file is located. It is given the following file name:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync original.xml.x.y-platform.bak
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync where <tt>original.xml</tt> is the original settings file name
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (excluding path), and <tt>x.y-platform</tt> is the version of the old
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync format of the settings file (before auto-conversion).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the given backup file already exists, this method will try to add the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>.N</tt> suffix to the backup file name (where <tt>N</tt> counts from
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync 0 to 9) and copy it again until it succeeds. If all suffixes are
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync occupied, or if any other copy error occurs, this method will return a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync failure.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the copy operation succeeds, the @a bakFileName return argument will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync receive a full path to the created backup file (for informational
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync purposes). Note that this will happen even if the subsequent
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#saveSettings"/> call performed by this method after the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync copy operation, fails.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The VirtualBox API never calls this method. It is intended purely for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the purposes of creating backup copies of the settings files by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync front-ends before saving the results of the automatically performed
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings conversion to disk.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>settingsFileVersion</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Settings file not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_XML_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not parse the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_IPRT_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not copy the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="bakFileName" type="wstring" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Full path to the created backup copy.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!--method name="createDHCPServerForInterface">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Creates a dhcp server settings to be used for the given interface
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync <result name="E_INVALIDARG">
e94ff1af89bf631c68367d4e291ddbb491b5e5c0vboxsync Host network interface @a name already exists.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="interface" type="IHostNetworkInterface" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Network Interface</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="server" type="IDHCPServer" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Dhcp server settings</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method-->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="createDHCPServer">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Creates a dhcp server settings to be used for the given internal network name
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Host network interface @a name already exists.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>server name</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="server" type="IDHCPServer" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Dhcp server settings</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="findDHCPServerByNetworkName">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Searches a dhcp server settings to be used for the given internal network name
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Host network interface @a name already exists.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>server name</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="server" type="IDHCPServer" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Dhcp server settings</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!--method name="findDHCPServerForInterface">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Searches a dhcp server settings to be used for the given interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Host network interface @a name already exists.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="interface" type="IHostNetworkInterface" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Network Interface</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="server" type="IDHCPServer" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Dhcp server settings</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method-->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="removeDHCPServer">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Removes the dhcp server settings
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Host network interface @a name already exists.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="server" type="IDHCPServer" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Dhcp server settings to be removed</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </interface>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!--
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync // IAppliance
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync /////////////////////////////////////////////////////////////////////////
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="CIMOSType"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="86ef5f8c-18b2-4db8-a314-33721b59f89b"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync OVF operating system values according to CIM V2.20 (as of Nov 2008); http://www.dmtf.org/standards/cim/cim_schema_v220
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Unknown" value="0" /> <!-- "Unknown" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Other" value="1" /> <!-- "Other" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_MACOS" value="2" /> <!-- "MACOS" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_ATTUNIX" value="3" /> <!-- "ATTUNIX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_DGUX" value="4" /> <!-- "DGUX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_DECNT" value="5" /> <!-- "DECNT" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Tru64UNIX" value="6" /> <!-- "Tru64 UNIX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_OpenVMS" value="7" /> <!-- "OpenVMS" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_HPUX" value="8" /> <!-- "HPUX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_AIX" value="9" /> <!-- "AIX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_MVS" value="10" /> <!-- "MVS" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_OS400" value="11" /> <!-- "OS400" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_OS2" value="12" /> <!-- "OS/2" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_JavaVM" value="13" /> <!-- "JavaVM" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_MSDOS" value="14" /> <!-- "MSDOS" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WIN3x" value="15" /> <!-- "WIN3x" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WIN95" value="16" /> <!-- "WIN95" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WIN98" value="17" /> <!-- "WIN98" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WINNT" value="18" /> <!-- "WINNT" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WINCE" value="19" /> <!-- "WINCE" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_NCR3000" value="20" /> <!-- "NCR3000" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_NetWare" value="21" /> <!-- "NetWare" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_OSF" value="22" /> <!-- "OSF" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_DCOS" value="23" /> <!-- "DC/OS" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_ReliantUNIX" value="24" /> <!-- "Reliant UNIX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_SCOUnixWare" value="25" /> <!-- "SCO UnixWare" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_SCOOpenServer" value="26" /> <!-- "SCO OpenServer" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Sequent" value="27" /> <!-- "Sequent" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_IRIX" value="28" /> <!-- "IRIX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Solaris" value="29" /> <!-- "Solaris" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_SunOS" value="30" /> <!-- "SunOS" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_U6000" value="31" /> <!-- "U6000" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_ASERIES" value="32" /> <!-- "ASERIES" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_HPNonStopOS" value="33" /> <!-- "HP NonStop OS" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_HPNonStopOSS" value="34" /> <!-- "HP NonStop OSS" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_BS2000" value="35" /> <!-- "BS2000" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_LINUX" value="36" /> <!-- "LINUX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Lynx" value="37" /> <!-- "Lynx" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_XENIX" value="38" /> <!-- "XENIX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_VM" value="39" /> <!-- "VM" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_InteractiveUNIX" value="40" /> <!-- "Interactive UNIX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_BSDUNIX" value="41" /> <!-- "BSDUNIX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_FreeBSD" value="42" /> <!-- "FreeBSD" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_NetBSD" value="43" /> <!-- "NetBSD" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_GNUHurd" value="44" /> <!-- "GNU Hurd" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_OS9" value="45" /> <!-- "OS9" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_MACHKernel" value="46" /> <!-- "MACH Kernel" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Inferno" value="47" /> <!-- "Inferno" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_QNX" value="48" /> <!-- "QNX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_EPOC" value="49" /> <!-- "EPOC" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_IxWorks" value="50" /> <!-- "IxWorks" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_VxWorks" value="51" /> <!-- "VxWorks" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_MiNT" value="52" /> <!-- "MiNT" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_BeOS" value="53" /> <!-- "BeOS" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_HPMPE" value="54" /> <!-- "HP MPE" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_NextStep" value="55" /> <!-- "NextStep" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_PalmPilot" value="56" /> <!-- "PalmPilot" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Rhapsody" value="57" /> <!-- "Rhapsody" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Windows2000" value="58" /> <!-- "Windows 2000" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Dedicated" value="59" /> <!-- "Dedicated" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_OS390" value="60" /> <!-- "OS/390" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_VSE" value="61" /> <!-- "VSE" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_TPF" value="62" /> <!-- "TPF" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WindowsMe" value="63" /> <!-- "Windows (R) Me" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_CalderaOpenUNIX" value="64" /> <!-- "Caldera Open UNIX" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_OpenBSD" value="65" /> <!-- "OpenBSD" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_NotApplicable" value="66" /> <!-- "Not Applicable" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WindowsXP" value="67" /> <!-- "Windows XP" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_zOS" value="68" /> <!-- "z/OS" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_MicrosoftWindowsServer2003" value="69" /> <!-- "Microsoft Windows Server 2003" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_MicrosoftWindowsServer2003_64" value="70" /> <!-- "Microsoft Windows Server 2003 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WindowsXP_64" value="71" /> <!-- "Windows XP 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WindowsXPEmbedded" value="72" /> <!-- "Windows XP Embedded" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WindowsVista" value="73" /> <!-- "Windows Vista" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WindowsVista_64" value="74" /> <!-- "Windows Vista 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_WindowsEmbeddedforPointofService" value="75" /> <!-- "Windows Embedded for Point of Service" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_MicrosoftWindowsServer2008" value="76" /> <!-- "Microsoft Windows Server 2008" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_MicrosoftWindowsServer2008_64" value="77" /> <!-- "Microsoft Windows Server 2008 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_FreeBSD_64" value="78" /> <!-- "FreeBSD 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_RedHatEnterpriseLinux" value="79" /> <!-- "RedHat Enterprise Linux" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_RedHatEnterpriseLinux_64" value="80" /> <!-- "RedHat Enterprise Linux 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Solaris_64" value="81" /> <!-- "Solaris 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_SUSE" value="82" /> <!-- "SUSE" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_SUSE_64" value="83" /> <!-- "SUSE 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_SLES" value="84" /> <!-- "SLES" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_SLES_64" value="85" /> <!-- "SLES 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_NovellOES" value="86" /> <!-- "Novell OES" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_NovellLinuxDesktop" value="87" /> <!-- "Novell Linux Desktop" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_SunJavaDesktopSystem" value="88" /> <!-- "Sun Java Desktop System" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Mandriva" value="89" /> <!-- "Mandriva" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Mandriva_64" value="90" /> <!-- "Mandriva 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_TurboLinux" value="91" /> <!-- "TurboLinux" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_TurboLinux_64" value="92" /> <!-- "TurboLinux 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Ubuntu" value="93" /> <!-- "Ubuntu" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Ubuntu_64" value="94" /> <!-- "Ubuntu 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Debian" value="95" /> <!-- "Debian" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Debian_64" value="96" /> <!-- "Debian 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Linux_2_4_x" value="97" /> <!-- "Linux 2.4.x" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Linux_2_4_x_64" value="98" /> <!-- "Linux 2.4.x 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Linux_2_6_x" value="99" /> <!-- "Linux 2.6.x" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Linux_2_6_x_64" value="100" /> <!-- "Linux 2.6.x 64-Bit" -->
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync <const name="CIMOS_Linux_64" value="101" /> <!-- "Linux 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CIMOS_Other_64" value="102" /> <!-- "Other 64-Bit" -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="OVFResourceType"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="646a78d7-6f04-49f4-82c4-75c28a75a4cd"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync OVF resource type (as listed with CIM_ResourceAllocationSettingData; see for example
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync http://msdn.microsoft.com/en-us/library/cc136877(VS.85).aspx).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Other" value="1" />
e94ff1af89bf631c68367d4e291ddbb491b5e5c0vboxsync <const name="ComputerSystem" value="2" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Processor" value="3" />
e94ff1af89bf631c68367d4e291ddbb491b5e5c0vboxsync <const name="Memory" value="4" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="IDEController" value="5" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="ParallelSCSIHBA" value="6" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="FCHBA" value="7" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="iSCSIHBA" value="8" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="IBHCA" value="9" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="EthernetAdapter" value="10" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="OtherNetworkAdapter" value="11" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="IOSlot" value="12" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="IODevice" value="13" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="FloppyDrive" value="14" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CDDrive" value="15" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="DVDDrive" value="16" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="HardDisk" value="17" />
e94ff1af89bf631c68367d4e291ddbb491b5e5c0vboxsync <const name="OtherStorageDevice" value="20" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="USBController" value="23" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="SoundCard" value="35" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IAppliance" extends="$unknown"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="a7a71c1f-20d3-4483-95c0-7357dda77f50"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="managed"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Represents a platform-independent appliance in OVF format. An instance of this is returned
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync by <link to="IVirtualBox::createAppliance" />, which can then be used to import and export
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync appliances with VirtualBox.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The OVF standard suggests two different physical file formats:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>If the OVF is distributed as a set of files, then @a file must be a fully qualified
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync path name to an existing OVF descriptor file with an <tt>.ovf</tt> file extension. If
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync this descriptor file references other files, as OVF appliances distributed as a set of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync files most likely do, those files must be in the same directory as the descriptor file.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>If the OVF is distributed as a single file, it must be in TAR format and have the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>.ova</tt> file extension. This TAR file must then contain at least the OVF descriptor
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync files and optionally other files.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync At this time, VirtualBox does not not yet support the packed (TAR) variant; support will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync be added with a later version.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <b>Importing</b> an OVF appliance into VirtualBox as instances of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine" /> involves the following sequence of API calls:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Call <link to="IVirtualBox::createAppliance" />. This will create an empty IAppliance object.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>On the new object, call <link to="#read" /> with the full path of the OVF file you
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync would like to import. So long as this file is syntactically valid, this will succeed
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and return an instance of IAppliance that contains the parsed data from the OVF file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Next, call <link to="#interpret" />, which analyzes the OVF data and sets up the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync contents of the IAppliance attributes accordingly. These can be inspected by a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VirtualBox front-end such as the GUI, and the suggestions can be displayed to the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync user. In particular, the <link to="#virtualSystemDescriptions" /> array contains
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync instances of <link to="IVirtualSystemDescription" /> which represent the virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync systems in the OVF, which in turn describe the virtual hardware prescribed by the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync OVF (network and hardware adapters, virtual disk images, memory size and so on).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The GUI can then give the user the option to confirm and/or change these suggestions.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>If desired, call <link to="IVirtualSystemDescription::setFinalValues" /> for each
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual system to override the suggestions made by the interpret() routine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Finally, call <link to="#importMachines" /> to create virtual machines in
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VirtualBox as instances of <link to="IMachine" /> that match the information in the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual system descriptions.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <b>Exporting</b> VirtualBox machines into an OVF appliance involves the following steps:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>As with importing, first call <link to="IVirtualBox::createAppliance" /> to create
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync an empty IAppliance object.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>For each machine you would like to export, call <link to="IMachine::export" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync with the IAppliance object you just created. This creates an instance of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualSystemDescription" /> inside the appliance.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>If desired, call <link to="IVirtualSystemDescription::setFinalValues" /> for each
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual system to override the suggestions made by the export() routine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Finally, call <link to="#write" /> with a path specification to have the OVF
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync file written.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="path" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Path to the main file of the OVF appliance, which is either the <tt>.ovf</tt> or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the <tt>.ova</tt> file passed to <link to="#read" /> (for import) or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#write" /> (for export).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This attribute is empty until one of these methods has been called.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="disks" type="wstring" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Array of virtual disk definitions. One such description exists for each
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync disk definition in the OVF; each string array item represents one such piece of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync disk information, with the information fields separated by tab (\t) characters.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The caller should be prepared for additional fields being appended to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync this string in future versions of VirtualBox and therefore check for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the number of tabs in the strings returned.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In the current version, the following eight fields are returned per string
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync in the array:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Disk ID (unique string identifier given to disk)</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Capacity (unsigned integer indicating the maximum capacity of the disk)</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Populated size (optional unsigned integer indicating the current size of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync disk; can be approximate; -1 if unspecified)</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Format (string identifying the disk format, typically
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "http://www.vmware.com/specifications/vmdk.html#sparse")</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Reference (where to find the disk image, typically a file name; if empty,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync then the disk should be created on import)</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Image size (optional unsigned integer indicating the size of the image,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync which need not necessarily be the same as the values specified above, since
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the image may be compressed or sparse; -1 if not specified)</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Chunk size (optional unsigned integer if the image is split into chunks;
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync presently unsupported and always -1)</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Compression (optional string equalling "gzip" if the image is gzip-compressed)</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ol>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="virtualSystemDescriptions" type="IVirtualSystemDescription" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc> Array of virtual system descriptions. One such description is created
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync for each virtual system found in the OVF.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This array is empty until either <link to="#interpret" /> (for import) or <link to="IMachine::export" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (for export) has been called.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="read">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Reads an OVF file into the appliance object.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method succeeds if the OVF is syntactically valid and, by itself, without errors. The
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync mere fact that this method returns successfully does not mean that VirtualBox supports all
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync features requested by the appliance; this can only be examined after a call to <link to="#interpret" />.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="file" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Name of appliance file to open (either with an <tt>.ovf</tt> or <tt>.ova</tt> extension, depending
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync on whether the appliance is distributed as a set of files or as a single file, respectively).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="interpret">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Interprets the OVF data that was read when the appliance was constructed. After
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync calling this method, one can inspect the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#virtualSystemDescriptions" /> array attribute, which will then contain
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync one <link to="IVirtualSystemDescription" /> for each virtual machine found in
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the appliance.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Calling this method is the second step of importing an appliance into VirtualBox;
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync see <link to="IAppliance" /> for an overview.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync After calling this method, one should call <link to="#getWarnings" /> to find out
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync if problems were encountered during the processing which might later lead to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync errors.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="importMachines">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Imports the appliance into VirtualBox by creating instances of <link to="IMachine" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and other interfaces that match the information contained in the appliance as
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync closely as possible, as represented by the import instructions in the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#virtualSystemDescriptions" /> array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Calling this method is the final step of importing an appliance into VirtualBox;
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync see <link to="IAppliance" /> for an overview.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Since importing the appliance will most probably involve copying and converting
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync disk images, which can take a long time, this method operates asynchronously and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync returns an IProgress object to allow the caller to monitor the progress.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aProgress" type="IProgress" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="write">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Writes the contents of the appliance exports into a new OVF file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Calling this method is the final step of exporting an appliance from VirtualBox;
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync see <link to="IAppliance" /> for an overview.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Since exporting the appliance will most probably involve copying and converting
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync disk images, which can take a long time, this method operates asynchronously and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync returns an IProgress object to allow the caller to monitor the progress.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="path" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Name of appliance file to open (either with an <tt>.ovf</tt> or <tt>.ova</tt> extension, depending
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync on whether the appliance is distributed as a set of files or as a single file, respectively).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aProgress" type="IProgress" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getWarnings">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Returns textual warnings which occured during execution of <link to="#interpret" />.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aWarnings" type="wstring" dir="return" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </interface>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="VirtualSystemDescriptionType"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="325e7fec-ce06-4174-9654-98f99478d03f"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Used with <link to="IVirtualSystemDescription" /> to describe the type of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync a configuration value.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Ignore" value="1" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="OS" value="2" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Name" value="3" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Description" value="4" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="License" value="5" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CPU" value="6" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Memory" value="7" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="HardDiskControllerIDE" value="8" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="HardDiskControllerSATA" value="9" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="HardDiskControllerSCSI" value="10" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="HardDiskImage" value="11" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Floppy" value="12" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="CDROM" value="13" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="NetworkAdapter" value="14" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="USBController" value="15" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="SoundCard" value="16" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <enum
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="VirtualSystemDescriptionValueType"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="56d9403f-3425-4118-9919-36f2a9b8c77c"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Used with <link to="GetValuesByType" /> to describe the value
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync type to fetch.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Reference" value="1" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Original" value="2" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="Auto" value="3" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <const name="ExtraConfig" value="4" />
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </enum>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IVirtualSystemDescription" extends="$unknown"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="d7525e6c-531a-4c51-8e04-41235083a3d8"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="managed"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>This interface is used in the <link to="IAppliance::virtualSystemDescriptions" /> array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync After <link to="IAppliance::interpret" /> has been called, that array contains
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync information about how the virtual systems described in the OVF should best be imported into VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual machines. See <link to="IAppliance" /> for the steps required to import an OVF
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync into VirtualBox.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="count" type="unsigned long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Return the number of virtual system description entries.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getDescription">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Returns information about the virtual system as arrays of instruction items. In each array, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync items with the same indices correspond and jointly represent an import instruction for VirtualBox.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The list below identifies the value sets that are possible depending on the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="VirtualSystemDescriptionType" /> enum value in the array item in aTypes[]. In each case,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the array item with the same index in aOvfValues[] will contain the original value as contained
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync in the OVF file (just for informational purposes), and the corresponding item in aVboxValues[]
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync will contain a suggested value to be used for VirtualBox. Depending on the description type,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the aExtraConfigValues[] array item may also be used.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "OS": the guest operating system type. There must be exactly one such array item on import. The
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync corresponding item in aVboxValues[] contains the suggested guest operating system for VirtualBox.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This will be one of the values listed in <link to="IVirtualBox::guestOSTypes" />. The corresponding
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync item in aOvfValues[] will contain a numerical value that described the operating system in the OVF
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (see <link to="CIMOSType" />).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "Name": the name to give to the new virtual machine. There can be at most one such array item;
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync if none is present on import, then an automatic name will be created from the operating system
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync type. The correponding item im aOvfValues[] will contain the suggested virtual machine name
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync from the OVF file, and aVboxValues[] will contain a suggestion for a unique VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine" /> name that does not exist yet.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "Description": an arbitrary description.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "License": the EULA section from the OVF, if present. It is the responsibility of the calling
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync code to display such a license for agreement; the Main API does not enforce any such policy.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "CPU": the number of CPUs. There can be at most one such item, which will presently be ignored.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "Memory": the amount of guest RAM, in bytes. There can be at most one such array item; if none
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is present on import, then VirtualBox will set a meaningful default based on the operating system
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync type.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "HarddiskControllerIDE": an IDE hard disk controller. There can be at most one such item. This
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync has no value in aOvfValues[] or aVboxValues[].
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The matching item in the aRefs[] array will contain an integer that items of the "Harddisk"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync type can use to specify which hard disk controller a virtual disk should be connected to.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "HarddiskControllerSATA": an SATA hard disk controller. There can be at most one such item. This
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync has no value in aOvfValues[] or aVboxValues[].
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The matching item in the aRefs[] array will be used as with IDE controllers (see above).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "HarddiskControllerSCSI": a SCSI hard disk controller. There can be at most one such item.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The items in aOvfValues[] and aVboxValues[] will either be "LsiLogic" or "BusLogic".
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The matching item in the aRefs[] array will be used as with IDE controllers (see above).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "HardDiskImage": a virtual hard disk, most probably as a reference to an image file. There can be an
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync arbitrary number of these items, one for each virtual disk image that accompanies the OVF.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The array item in aOvfValues[] will contain the file specification from the OVF file (without
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync a path since the image file should be in the same location as the OVF file itself), whereas the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync item in aVboxValues[] will contain a qualified path specification to where VirtualBox uses the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync hard disk image. This means that on import the image will be copied and converted from the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "ovf" location to the "vbox" location; on export, this will be handled the other way round.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync On import, the target image will also be registered with VirtualBox.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The matching item in the aExtraConfigValues[] array must contain a string of the following
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync format: "controller=&lt;index&gt;;channel=&lt;c&gt;"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In this string, &lt;index&gt; must be an integer specifying the hard disk controller to connect
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the image to. That number must be the index of an array item with one of the hard disk controller
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync types (HarddiskControllerSCSI, HarddiskControllerSATA, HarddiskControllerIDE).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In addition, &lt;c&gt; must specify the channel to use on that controller. For IDE controllers,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync this can range from 0-2 (which VirtualBox will interpret as primary master, primary slave,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync secondary slave; VirtualBox reserves the secondary master for the CD-ROM drive). For SATA and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync SCSI conrollers, the channel can range from 0-29.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "NetworkAdapter": a network adapter. The array item in aVboxValues[] will specify the hardware
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync for the network adapter, whereas the array item in aExtraConfigValues[] will have a string
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync of the "type=&lt;X&gt;" format, where &lt;X&gt; must be either "NAT" or "Bridged".
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "USBController": a USB controller. There can be at most one such item. If and only if such an
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync item ispresent, USB support will be enabled for the new virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "SoundCard": a sound card. There can be at most one such item. If and only if such an item is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync present, sound support will be enabled for the new virtual machine. Note that the virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine in VirtualBox will always be presented with the standard VirtualBox soundcard, which
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync may be different from the virtual soundcard expected by the appliance.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aTypes" type="VirtualSystemDescriptionType" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aRefs" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aOvfValues" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aVboxValues" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aExtraConfigValues" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getDescriptionByType">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>This is the same as <link to="getDescription" /> except that you can specify which types
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync should be returned.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aType" type="VirtualSystemDescriptionType" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aTypes" type="VirtualSystemDescriptionType" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aRefs" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aOvfValues" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aVboxValues" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aExtraConfigValues" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getValuesByType">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>This is the same as <link to="getDescriptionByType" /> except that you can specify which
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync value types should be returned. See <link to="VirtualSystemDescriptionValueType" /> for possible
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync values.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aType" type="VirtualSystemDescriptionType" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aWhich" type="VirtualSystemDescriptionValueType" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aValues" type="wstring" dir="return" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="setFinalValues">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method allows the appliance's user to change the configuration for the virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync system descriptions. For each array item returned from <link to="getDescription" />,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync you must pass in one boolean value and one configuration value.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Each item in the boolean array determines whether the particular configuration item
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync should be enabled.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync You can only disable items of the types HardDiskControllerIDE, HardDiskControllerSATA,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync HardDiskControllerSCSI, HardDiskImage, CDROM, Floppy, NetworkAdapter, USBController
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and SoundCard.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For the "vbox" and "extra configuration" values, if you pass in the same arrays
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync as returned in the aVboxValues and aExtraConfigValues arrays from getDescription(),
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the configuration remains unchanged. Please see the documentation for getDescription()
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync for valid configuration values for the individual array item types. If the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync corresponding item in the aEnabled array is false, the configuration value is ignored.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aEnabled" type="boolean" dir="in" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aVboxValues" type="wstring" dir="in" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aExtraConfigValues" type="wstring" dir="in" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="addDescription">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method adds an additional description entry to the stack of already
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync available descriptions for this virtual system. This is handy for writing
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync values which aren't directly supported by VirtualBox. One example would
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync be the License type of <link to="VirtualSystemDescriptionType" />.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aType" type="VirtualSystemDescriptionType" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aVboxValue" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aExtraConfigValue" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc></desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </interface>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!--
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync // IMachine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync /////////////////////////////////////////////////////////////////////////
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IInternalMachineControl" extends="$unknown"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="2c88b969-7a74-4ef3-b95f-8a209a1535f3"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync internal="yes"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="suppress"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="updateState">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Updates the VM state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This operation will also update the settings file with
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the correct information about the saved state file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and delete this file from disk when appropriate.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="state" type="MachineState" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getIPCId">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="wstring" dir="return"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="runUSBDeviceFilters">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Asks the server to run USB devices filters of the associated
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine against the given USB device and tell if there is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync a match.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Intended to be used only for remote USB devices. Local
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync ones don't require to call this method (this is done
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync implicitly by the Host and USBProxyService).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="device" type="IUSBDevice" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="matched" type="boolean" dir="out"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="maskedInterfaces" type="unsigned long" dir="out"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="captureUSBDevice">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Requests a capture of the given host USB device.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync When the request is completed, the VM process will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync get a <link to="IInternalSessionControl::onUSBDeviceAttach"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync notification.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="detachUSBDevice">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification that a VM is going to detach (done = false) or has
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync already detached (done = true) the given USB device.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync When the done = true request is completed, the VM process will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync get a <link to="IInternalSessionControl::onUSBDeviceDetach"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync notification.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In the done = true case, the server must run its own filters
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and filters of all VMs but this one on the detached device
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync as if it were just attached to the host computer.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="done" type="boolean" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="autoCaptureUSBDevices">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Requests a capture all matching USB devices attached to the host.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync When the request is completed, the VM process will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync get a <link to="IInternalSessionControl::onUSBDeviceAttach"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync notification per every captured device.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="detachAllUSBDevices">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification that a VM that is being powered down. The done
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync parameter indicates whether which stage of the power down
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync we're at. When done = false the VM is announcing its
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync intentions, while when done = true the VM is reporting
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync what it has done.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In the done = true case, the server must run its own filters
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and filters of all VMs but this one on all detach devices as
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync if they were just attached to the host computer.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="done" type="boolean" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onSessionEnd">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Triggered by the given session object when the session is about
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to close normally.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="session" type="ISession" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Session that is being closed</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="progress" type="IProgress" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Used to wait until the corresponding machine is actually
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync dissociated from the given session on the server.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returned only when this session is a direct one.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="beginSavingState">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Called by the VM process to inform the server it wants to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync save the current state and stop the VM execution.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="progress" type="IProgress" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Progress object created by the VM process to wait until
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the state is saved.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="stateFilePath" type="wstring" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync File path the VM process must save the execution state to.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="endSavingState">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Called by the VM process to inform the server that saving
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the state previously requested by #beginSavingState is either
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync successfully finished or there was a failure.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Settings file not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_XML_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not parse the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="success" type="boolean" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc><tt>true</tt> to indicate success and <tt>false</tt>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync otherwise.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="adoptSavedState">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Gets called by IConsole::adoptSavedState.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid saved state file path.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="savedStateFile" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Path to the saved state file to adopt.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="beginTakingSnapshot">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Called by the VM process to inform the server it wants to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync take a snapshot.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Settings file not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_XML_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not parse the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="initiator" type="IConsole" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>The console object that initiated this call.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Snapshot name.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="description" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Snapshot description.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="progress" type="IProgress" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Progress object created by the VM process to wait until
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the state is saved (only for online snapshots).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="stateFilePath" type="wstring" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync File path the VM process must save the execution state to.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="serverProgress" type="IProgress" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Progress object created by the server process to wait until
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the snapshot is taken (VDI diff creation, etc.).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="endTakingSnapshot">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Called by the VM process to inform the server that the snapshot
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync previously requested by #beginTakingSnapshot is either
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync successfully taken or there was a failure.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="success" type="boolean" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc><tt>true</tt> to indicate success and <tt>false</tt> otherwise</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="discardSnapshot">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Gets called by IConsole::discardSnapshot.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Snapshot has more than one child snapshot.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="initiator" type="IConsole" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>The console object that initiated this call.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>UUID of the snapshot to discard.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineState" type="MachineState" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>New machine state after this operation is started.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="progress" type="IProgress" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Progress object to track the operation completion.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="discardCurrentState">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Gets called by IConsole::discardCurrentState.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine does not have any snapshot.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="initiator" type="IConsole" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>The console object that initiated this call.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineState" type="MachineState" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>New machine state after this operation is started.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="progress" type="IProgress" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Progress object to track the operation completion.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="discardCurrentSnapshotAndState">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Gets called by IConsole::discardCurrentSnapshotAndState.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine does not have any snapshot.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="initiator" type="IConsole" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>The console object that initiated this call.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="machineState" type="MachineState" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>New machine state after this operation is started.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="progress" type="IProgress" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Progress object to track the operation completion.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="pullGuestProperties">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Get the list of the guest properties matching a set of patterns along
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync with their values, time stamps and flags and give responsibility for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync managing properties to the console.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The names of the properties returned.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The values of the properties returned. The array entries match the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync corresponding entries in the @a name array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="timestamp" type="unsigned long long" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The time stamps of the properties returned. The array entries match
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the corresponding entries in the @a name array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="flags" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The flags of the properties returned. The array entries match the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync corresponding entries in the @a name array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="pushGuestProperties">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Set the list of the guest properties matching a set of patterns along
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync with their values, time stamps and flags and return responsibility for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync managing properties to IMachine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The names of the properties.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="in" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The values of the properties. The array entries match the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync corresponding entries in the @a name array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="timestamp" type="unsigned long long" dir="in" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The time stamps of the properties. The array entries match
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the corresponding entries in the @a name array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="flags" type="wstring" dir="in" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The flags of the properties. The array entries match the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync corresponding entries in the @a name array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="pushGuestProperty">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Update a single guest property in IMachine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The name of the property to be updated.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The value of the property.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="timestamp" type="unsigned long long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The timestamp of the property.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="flags" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The flags of the property.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="lockMedia">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Locks all media attached to the machine for writing and parents of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync attahced different hard disks (if any) for reading. This operation is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync atomic so that if it fails no media is actually locked.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method is intended to be called when the machine is in Starting or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Restoring state. The locked media will be automatically unlocked when
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the machine is powered off or crashed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </interface>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IBIOSSettings" extends="$unknown"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="38b54279-dc35-4f5e-a431-835b867c6b5e"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="managed"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The IBIOSSettings interface represents BIOS settings of the virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine. This is used only in the <link to="IMachine::BIOSSettings" /> attribute.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="logoFadeIn" type="boolean">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Fade in flag for BIOS logo animation.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="logoFadeOut" type="boolean">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Fade out flag for BIOS logo animation.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="logoDisplayTime" type="unsigned long">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>BIOS logo display time in milliseconds (0 = default).</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="logoImagePath" type="wstring">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Local file system path for external BIOS image.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="bootMenuMode" type="BIOSBootMenuMode">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Mode of the BIOS boot device menu.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="ACPIEnabled" type="boolean">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>ACPI support flag.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="IOAPICEnabled" type="boolean">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync IO APIC support flag. If set, VirtualBox will provide an IO APIC
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and support IRQs above 15.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="timeOffset" type="long long">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Offset in milliseconds from the host system time. This allows for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync guests running with a different system date/time than the host.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync It is equivalent to setting the system date/time in the BIOS except
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync it is not an absolute value but a relative one. Guest Additions
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync time synchronization honors this offset.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="PXEDebugEnabled" type="boolean">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync PXE debug logging flag. If set, VirtualBox will write extensive
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync PXE trace information to the release log.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </interface>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IMachine" extends="$unknown"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="13420cbb-175a-4456-85d0-301126dfdec7"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="managed"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The IMachine interface represents a virtual machine, or guest, created
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync in VirtualBox.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This interface is used in two contexts. First of all, a collection of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync objects implementing this interface is stored in the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::machines"/> attribute which lists all the virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machines that are currently registered with this VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync installation. Also, once a session has been opened for the given virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine (e.g. the virtual machine is running), the machine object
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync associated with the open session can be queried from the session object;
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync see <link to="ISession"/> for details.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The main role of this interface is to expose the settings of the virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine and provide methods to change various aspects of the virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine's configuration. For machine objects stored in the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::machines"/> collection, all attributes are
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync read-only unless explicitly stated otherwise in individual attribute
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and method descriptions. In order to change a machine setting, a session
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync for this machine must be opened using one of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::openSession"/>,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::openRemoteSession"/> or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::openExistingSession"/> methods. After the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync session has been successfully opened, a mutable machine object needs to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync be queried from the session object and then the desired settings changes
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync can be applied to the returned object using IMachine attributes and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync methods. See the ISession interface description for more information
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync about sessions.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that the IMachine interface does not provide methods to control
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual machine execution (such as start the machine, or power it
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync down) -- these methods are grouped in a separate IConsole
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync interface. Refer to the IConsole interface description to get more
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync information about this topic.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>ISession, IConsole</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="parent" type="IVirtualBox" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Associated parent object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="accessible" type="boolean" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Whether this virtual machine is currently accessible or not.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The machine is considered to be inaccessible when:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>It is a registered virtual machine, and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>Its settings file is inaccessible (for example, it is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync located on a network share that is not accessible during
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VirtualBox startup, or becomes inaccessible later, or if
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the settings file can be read but is invalid).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Otherwise, the value of this property is always <tt>true</tt>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Every time this property is read, the accessibility state of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync this machine is re-evaluated. If the returned value is |false|,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the <link to="#accessError"/> property may be used to get the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync detailed error information describing the reason of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync inaccessibility.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync When the machine is inaccessible, only the following properties
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync can be used on it:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="#parent"/></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="#id"/></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="#settingsFilePath"/></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="#accessible"/></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="#accessError"/></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync An attempt to access any other property or method will return
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync an error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The only possible action you can perform on an inaccessible
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine is to unregister it using the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::unregisterMachine"/> call (or, to check
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync for the accessibility state once more by querying this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync property).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In the current implementation, once this property returns
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>true</tt>, the machine will never become inaccessible
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync later, even if its settings file cannot be successfully
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync read/written any more (at least, until the VirtualBox
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync server is restarted). This limitation may be removed in
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync future releases.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="accessError" type="IVirtualBoxErrorInfo" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Error information describing the reason of machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync inaccessibility.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Reading this property is only valid after the last call to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#accessible"/> returned <tt>false</tt> (i.e. the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine is currently unaccessible). Otherwise, a null
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync IVirtualBoxErrorInfo object will be returned.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="name" type="wstring">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Name of the virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Besides being used for human-readable identification purposes
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync everywhere in VirtualBox, the virtual machine name is also used
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync as a name of the machine's settings file and as a name of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync subdirectory this settings file resides in. Thus, every time you
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync change the value of this property, the settings file will be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync renamed once you call <link to="#saveSettings"/> to confirm the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync change. The containing subdirectory will be also renamed, but
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync only if it has exactly the same name as the settings file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync itself prior to changing this property (for backward compatibility
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync with previous API releases). The above implies the following
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync limitations:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>The machine name cannot be empty.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>The machine name can contain only characters that are valid
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync file name characters according to the rules of the file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync system used to store VirtualBox configuration.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>You cannot have two or more machines with the same name
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync if they use the same subdirectory for storing the machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings files.</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>You cannot change the name of the machine if it is running,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync or if any file in the directory containing the settings file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is being used by another running machine or by any other
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync process in the host operating system at a time when
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#saveSettings"/> is called.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If any of the above limitations are hit, <link to="#saveSettings"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync will return an appropriate error message explaining the exact
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync reason and the changes you made to this machine will not be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync saved.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For "legacy" machines created using the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::createLegacyMachine"/> call,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the above naming limitations do not apply because the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine name does not affect the settings file name.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The settings file name remains the same as it was specified
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync during machine creation and never changes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="description" type="wstring">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Description of the virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The description attribute can contain any text and is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync typically used to describe the hardware and software
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync configuration of the virtual machine in detail (i.e. network
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings, versions of the installed software and so on).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="id" type="uuid" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>UUID of the virtual machine.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="OSTypeId" type="wstring">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync User-defined identifier of the Guest OS type.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync You may use <link to="IVirtualBox::getGuestOSType"/> to obtain
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync an IGuestOSType object representing details about the given
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Guest OS type.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This value may differ from the value returned by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IGuest::OSTypeId"/> if Guest Additions are
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync installed to the guest OS.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="HardwareVersion" type="wstring">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Hardware version identifier. Internal use only for now.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="CPUCount" type="unsigned long">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Number of virtual CPUs in the VM. In the current version of the product, this is always 1.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="memorySize" type="unsigned long">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>System memory size in megabytes.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="memoryBalloonSize" type="unsigned long">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Initial memory balloon size in megabytes.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="statisticsUpdateInterval" type="unsigned long">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Initial interval to update guest statistics in seconds.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="VRAMSize" type="unsigned long">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Video memory size in megabytes.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="accelerate3DEnabled" type="boolean" default="false">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This setting determines whether VirtualBox allows guests to make use
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync of the 3D graphics support available on the host. Currently limited
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to OpenGL only. </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="monitorCount" type="unsigned long">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Number of virtual monitors.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Only effective on Windows XP and later guests with
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Guest Additions installed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="BIOSSettings" type="IBIOSSettings" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Object containing all BIOS settings.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="HWVirtExEnabled" type="TSBool">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This setting determines whether VirtualBox will try to make use of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the host CPU's hardware virtualization extensions such as Intel VT-x
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and AMD-V. Note that in case such extensions are not available,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync they will not be used.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="HWVirtExNestedPagingEnabled" type="boolean" default="false">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This setting determines whether VirtualBox will try to make use of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the nested paging extension of Intel VT-x and AMD-V. Note that in case
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync such extensions are not available, they will not be used.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="HWVirtExVPIDEnabled" type="boolean" default="false">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This setting determines whether VirtualBox will try to make use of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the VPID extension of Intel VT-x. Note that in case such extensions are
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync not available, they will not be used.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="PAEEnabled" type="boolean" default="false">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This setting determines whether VirtualBox will expose the Physical Address
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Extension (PAE) feature of the host CPU to the guest. Note that in case PAE
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is not available, it will not be reported.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="snapshotFolder" type="wstring">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Full path to the directory used to store snapshot data
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (differencing hard disks and saved state files) of this machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The initial value of this property is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>&lt;</tt><link to="#settingsFilePath">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync path_to_settings_file</link><tt>&gt;/&lt;</tt>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#id">machine_uuid</link>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>&gt;</tt>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Currently, it is an error to try to change this property on
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync a machine that has snapshots (because this would require to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync move possibly large files to a different location).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A separate method will be available for this purpose later.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Setting this property to <tt>null</tt> will restore the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync initial value.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync When setting this property, the specified path can be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync absolute (full path) or relative to the directory where the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#settingsFilePath">machine settings file</link>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is located. When reading this property, a full path is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync always returned.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The specified path may not exist, it will be created
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync when necessary.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="VRDPServer" type="IVRDPServer" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>VRDP server object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="hardDiskAttachments" type="IHardDiskAttachment" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Array of hard disks attached to this machine.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="DVDDrive" type="IDVDDrive" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Associated DVD drive object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="floppyDrive" type="IFloppyDrive" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Associated floppy drive object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="USBController" type="IUSBController" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Associated USB controller object.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method may set a @ref com_warnings "warning result code".
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If USB functionality is not available in the given edition of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VirtualBox, this method will set the result code to @c E_NOTIMPL.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="audioAdapter" type="IAudioAdapter" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Associated audio adapter, always present.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="storageControllers" type="IStorageController" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Array of storage controllers attached to this machine.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="settingsFilePath" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Full name of the file containing machine settings data.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="settingsFileVersion" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Current version of the format of the settings file of this machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (<link to="#settingsFilePath"/>).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The version string has the following format:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync x.y-platform
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync where <tt>x</tt> and <tt>y</tt> are the major and the minor format
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync versions, and <tt>platform</tt> is the platform identifier.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The current version usually matches the value of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::settingsFormatVersion"/> attribute unless the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings file was created by an older version of VirtualBox and there
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync was a change of the settings file format since then.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that VirtualBox automatically converts settings files from older
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync versions to the most recent version when reading them (usually at
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync VirtualBox startup) but it doesn't save the changes back until
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync you call a method that implicitly saves settings (such as
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#setExtraData"/>) or call <link to="#saveSettings"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync explicitly. Therefore, if the value of this attribute differs from the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync value of <link to="IVirtualBox::settingsFormatVersion"/>, then it
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync means that the settings file was converted but the result of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync conversion is not yet saved to disk.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The above feature may be used by interactive front-ends to inform users
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync about the settings file format change and offer them to explicitly save
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync all converted settings files (the global and VM-specific ones),
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync optionally create backup copies of the old settings files before saving,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync etc.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>IVirtualBox::settingsFormatVersion, saveSettingsWithBackup()</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="settingsModified" type="boolean" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Whether the settings of this machine have been modified
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (but neither yet saved nor discarded).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Reading this property is only valid on instances returned
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync by <link to="ISession::machine"/> and on new machines
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync created by <link to="IVirtualBox::createMachine"/> or opened
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync by <link to="IVirtualBox::openMachine"/> but not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync yet registered, or on unregistered machines after calling
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::unregisterMachine"/>. For all other
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync cases, the settings can never be modified.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For newly created unregistered machines, the value of this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync property is always TRUE until <link to="#saveSettings"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is called (no matter if any machine settings have been
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync changed after the creation or not). For opened machines
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the value is set to FALSE (and then follows to normal rules).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="sessionState" type="SessionState" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Current session state for this machine.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="sessionType" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Type of the session. If <link to="#sessionState"/> is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync SessionSpawning or SessionOpen, this attribute contains the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync same value as passed to the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::openRemoteSession"/> method in the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a type parameter. If the session was opened directly using
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::openSession"/>, or if
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#sessionState"/> is SessionClosed, the value of this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync attribute is @c null.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="sessionPid" type="unsigned long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Identifier of the session process. This attribute contains the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync platform-dependent identifier of the process that has opened a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync direct session for this machine using the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::openSession"/> call. The returned value
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is only valid if <link to="#sessionState"/> is SessionOpen or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync SessionClosing (i.e. a session is currently open or being
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync closed) by the time this property is read.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="state" type="MachineState" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Current execution state of this machine.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="lastStateChange" type="long long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Time stamp of the last execution state change,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync in milliseconds since 1970-01-01 UTC.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="stateFilePath" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Full path to the file that stores the execution state of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the machine when it is in the <link to="MachineState_Saved"/> state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync When the machine is not in the Saved state, this attribute
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>null</tt>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="logFolder" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Full path to the folder that stores a set of rotated log files
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync recorded during machine execution. The most recent log file is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync named <tt>VBox.log</tt>, the previous log file is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync named <tt>VBox.log.1</tt> and so on (up to <tt>VBox.log.3</tt>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync in the current version).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="currentSnapshot" type="ISnapshot" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Current snapshot of this machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A <tt>null</tt> object is returned if the machine doesn't
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync have snapshots.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see><link to="ISnapshot"/></see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="snapshotCount" type="unsigned long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Number of snapshots taken on this machine. Zero means the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine doesn't have any snapshots.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="currentStateModified" type="boolean" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns <tt>true</tt> if the current state of the machine is not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync identical to the state stored in the current snapshot.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The current state is identical to the current snapshot right
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync after one of the following calls are made:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="IConsole::discardCurrentState"/> or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IConsole::discardCurrentSnapshotAndState"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="IConsole::takeSnapshot"/> (issued on a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync powered off or saved machine, for which
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#settingsModified"/> returns <tt>false</tt>)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><link to="IMachine::setCurrentSnapshot"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The current state remains identical until one of the following
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync happens:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>settings of the machine are changed</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>the saved state is discarded</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>the current snapshot is discarded</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li>an attempt to execute the machine is made</li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For machines that don't have snapshots, this property is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync always <tt>false</tt>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="sharedFolders" type="ISharedFolder" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Collection of shared folders for this machine (permanent shared
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync folders). These folders are shared automatically at machine startup
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and available only to the guest OS installed within this machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync New shared folders are added to the collection using
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#createSharedFolder"/>. Existing shared folders can be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync removed using <link to="#removeSharedFolder"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="clipboardMode" type="ClipboardMode">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Synchronization mode between the host OS clipboard
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and the guest OS clipboard.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="guestPropertyNotificationPatterns" type="wstring">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A comma-separated list of simple glob patterns. Changes to guest
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync properties whose name matches one of the patterns will generate an
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBoxCallback::onGuestPropertyChange"/> signal.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="setBootOrder">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Puts the given device to the specified position in
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the boot order.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync To indicate that no device is associated with the given position,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="DeviceType_Null"/> should be used.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @todo setHardDiskBootOrder(), setNetworkBootOrder()
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Boot @a position out of range.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_NOTIMPL">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Booting from USB @a device currently not supported.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="position" type="unsigned long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Position in the boot order (<tt>1</tt> to the total number of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync devices the machine can boot from, as returned by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::maxBootPosition"/>).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="device" type="DeviceType" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The type of the device used to boot at the given position.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getBootOrder" const="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns the device type that occupies the specified
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync position in the boot order.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @todo [remove?]
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the machine can have more than one device of the returned type
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (such as hard disks), then a separate method should be used to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync retrieve the individual device that occupies the given position.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If here are no devices at the given position, then
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="DeviceType_Null"/> is returned.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @todo getHardDiskBootOrder(), getNetworkBootOrder()
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Boot @a position out of range.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="position" type="unsigned long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Position in the boot order (<tt>1</tt> to the total number of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync devices the machine can boot from, as returned by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::maxBootPosition"/>).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="device" type="DeviceType" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Device at the given position.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="attachHardDisk">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Attaches a virtual hard disk (<link to="IHardDisk" />, identified
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync by the given UUID @a id) to the given hard disk controller
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (<link to="IStorageController" />, identified by @a name),
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync at the indicated port and device.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For the IDE bus, the @a controllerPort parameter can be either
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @c 0 or @c 1, to specify the primary or secondary IDE controller,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync respectively. For the primary controller of the IDE bus,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a device can be either @c 0 or @c 1, to specify the master or the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync slave device, respectively. For the secondary IDE controller, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync device number must be @c 1 because VirtualBox reserves the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync secondary master for the CD-ROM drive.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For an SATA controller, @a controllerPort must be a number ranging
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync from @c 0 to @c 29. For a SCSI controller, @a controllerPort must
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync be a number ranging from @c 0 to @c 15.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For both SCSI and SATA, the @a device parameter is unused and must
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync be @c 0.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The specified device slot must not have another disk attached to it, or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync this method will fail.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync See <link to="IHardDisk"/> for more detailed information about
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync attaching hard disks.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync You cannot attach a hard disk to a running machine. Also, you cannot
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync attach a hard disk to a newly created machine until this machine's
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings are saved to disk using <link to="#saveSettings"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the hard disk is being attached indirectly, a new differencing hard
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync disk will implicitly be created for it and attached instead. If the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync changes made to the machine settings (including this indirect
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync attachment) are later cancelled using <link to="#discardSettings"/>,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync this implicitly created differencing hard disk will implicitly
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync be deleted.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync SATA device, SATA port, IDE port or IDE slot out of range.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Attempt to attach hard disk to an unregistered virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid machine state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_IN_USE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Hard disk already attached to this or another virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>UUID of the hard disk to attach.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the storage controller to attach the hard disk to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="controllerPort" type="long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Port to attach the hard disk to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="device" type="long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Device slot in the given port to attach the hard disk to.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getHardDisk" const="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns the virtual hard disk attached to a device slot of the specified
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync bus.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that if the hard disk was indirectly attached by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#attachHardDisk"/> to the given device slot then this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync method will return not the same object as passed to the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#attachHardDisk"/> call. See <link to="IHardDisk"/> for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync more detailed information about attaching hard disks.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No hard disk attached to given slot/bus.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the storage controller the hard disk is attached to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="controllerPort" type="long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Port to query.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="device" type="long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Device slot in the given port to query.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="hardDisk" type="IHardDisk" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Attached hard disk object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="detachHardDisk">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Detaches the virtual hard disk attached to a device slot of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync specified bus.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Detaching the hard disk from the virtual machine is deferred. This means
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync that the hard disk remains associated with the machine when this method
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync returns and gets actually de-associated only after a successful
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#saveSettings"/> call. See <link to="IHardDisk"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync for more detailed information about attaching hard disks.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync You cannot detach the hard disk from a running machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Detaching differencing hard disks implicitly created by <link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="#attachHardDisk"/> for the indirect attachment using this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync method will <b>not</b> implicitly delete them. The
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IHardDisk::deleteStorage"/> operation should be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync explicitly performed by the caller after the hard disk is successfully
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync detached and the settings are saved with
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#saveSettings"/>, if it is the desired action.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Attempt to detach hard disk from a running virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync No hard disk attached to given slot/bus.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_NOT_SUPPORTED">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Hard disk format does not support storage deletion.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>name of the storage controller to detach the hard disk from.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="controllerPort" type="long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Port number to detach the hard disk from.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="device" type="long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Device slot number to detach the hard disk from.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getHardDiskAttachmentsOfController" const="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns an array of hard disk attachments which are attached to the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the controller with the given name.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A storage controller with given name doesn't exist.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="hardDiskAttachments" type="IHardDiskAttachment" safearray="yes" dir="return"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getNetworkAdapter" const="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns the network adapter associated with the given slot.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Slots are numbered sequentially, starting with zero. The total
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync number of adapters per machine is defined by the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::networkAdapterCount"/> property,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync so the maximum slot number is one less than that property's value.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid @a slot number.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="slot" type="unsigned long" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="adapter" type="INetworkAdapter" dir="return"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="addStorageController">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Adds a new storage controller (SCSI or SATA controller) to the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine and returns it as an instance of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IStorageController" />.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a name identifies the controller with subsequent calls such as
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#getStorageControllerByName" /> or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#removeStorageController" /> or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#attachHardDisk" />.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync After the controller has been added, you can set its exact
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync type by setting the <link to="IStorageController::controllerType" />.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_IN_USE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A storage controller with given name exists already.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid @a controllerType.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="connectionType" type="StorageBus" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="controller" type="IStorageController" dir="return"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getStorageControllerByName" const="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns a storage controller with the given name.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A storage controller with given name doesn't exist.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="storageController" type="IStorageController" dir="return"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="removeStorageController">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Removes a storage controller from the machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A storage controller with given name doesn't exist.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getSerialPort" const="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns the serial port associated with the given slot.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Slots are numbered sequentially, starting with zero. The total
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync number of serial ports per machine is defined by the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::serialPortCount"/> property,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync so the maximum slot number is one less than that property's value.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid @a slot number.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="slot" type="unsigned long" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="port" type="ISerialPort" dir="return"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getParallelPort" const="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns the parallel port associated with the given slot.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Slots are numbered sequentially, starting with zero. The total
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync number of parallel ports per machine is defined by the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISystemProperties::parallelPortCount"/> property,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync so the maximum slot number is one less than that property's value.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid @a slot number.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="slot" type="unsigned long" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="port" type="IParallelPort" dir="return"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getNextExtraDataKey">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns the machine-specific extra data key name following the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync supplied key.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync An error is returned if the supplied @a key does not exist. @c NULL is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync returned in @a nextKey if the supplied key is the last key. When
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync supplying @c NULL for the @a key, the first key item is returned in
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a nextKey (if there is any). @a nextValue is an optional parameter and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync if supplied, the next key's value is returned in it.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Extra data @a key not found.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="key" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the data key to follow.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="nextKey" type="wstring" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the next data key.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="nextValue" type="wstring" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Value of the next data key.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getExtraData">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns associated machine-specific extra data.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the requested data @a key does not exist, this function will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync succeed and return @c NULL in the @a value argument.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Settings file not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_XML_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not parse the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="key" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the data key to get.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Value of the requested data key.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="setExtraData">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Sets associated machine-specific extra data.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If you pass @c NULL as a key @a value, the given @a key will be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync deleted.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Before performing the actual data change, this method will ask all
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync registered callbacks using the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBoxCallback::onExtraDataCanChange"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync notification for a permission. If one of the callbacks refuses the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync new value, the change will not be performed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync On success, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBoxCallback::onExtraDataChange"/> notification
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is called to inform all registered callbacks about a successful data
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync change.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method can be called outside the machine session and therefore
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync it's a caller's responsibility to handle possible race conditions
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync when several clients change the same key at the same time.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Settings file not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_XML_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not parse the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="key" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the data key to set.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Value to assign to the key.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="saveSettings">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Saves any changes to machine settings made since the session
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync has been opened or a new machine has been created, or since the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync last call to <link to="#saveSettings"/> or <link to="#discardSettings"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For registered machines, new settings become visible to all
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync other VirtualBox clients after successful invocation of this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync method.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The method sends <link to="IVirtualBoxCallback::onMachineDataChange"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync notification event after the configuration has been successfully
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync saved (only for registered machines).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Calling this method is only valid on instances returned
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync by <link to="ISession::machine"/> and on new machines
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync created by <link to="IVirtualBox::createMachine"/> but not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync yet registered, or on unregistered machines after calling
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::unregisterMachine"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Settings file not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_XML_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not parse the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_ACCESSDENIED">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Modification request refused.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="saveSettingsWithBackup">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Creates a backup copy of the machine settings file (<link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="#settingsFilePath"/>) in case of auto-conversion, and then calls
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#saveSettings"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that the backup copy is created <b>only</b> if the settings file
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync auto-conversion took place (see <link to="#settingsFileVersion"/> for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync details). Otherwise, this call is fully equivalent to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#saveSettings"/> and no backup copying is done.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The backup copy is created in the same directory where the original
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings file is located. It is given the following file name:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync original.xml.x.y-platform.bak
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </pre>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync where <tt>original.xml</tt> is the original settings file name
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (excluding path), and <tt>x.y-platform</tt> is the version of the old
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync format of the settings file (before auto-conversion).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the given backup file already exists, this method will try to add the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>.N</tt> suffix to the backup file name (where <tt>N</tt> counts from
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync 0 to 9) and copy it again until it succeeds. If all suffixes are
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync occupied, or if any other copy error occurs, this method will return a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync failure.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the copy operation succeeds, the @a bakFileName return argument will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync receive a full path to the created backup file (for informational
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync purposes). Note that this will happen even if the subsequent
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#saveSettings"/> call performed by this method after the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync copy operation, fails.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The VirtualBox API never calls this method. It is intended purely for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the purposes of creating backup copies of the settings files by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync front-ends before saving the results of the automatically performed
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync settings conversion to disk.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>settingsFileVersion</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Settings file not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_XML_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not parse the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine is not mutable.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_ACCESSDENIED">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Modification request refused.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="bakFileName" type="wstring" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Full path to the created backup copy.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="discardSettings">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Discards any changes to the machine settings made since the session
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync has been opened or since the last call to <link to="#saveSettings"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync or <link to="#discardSettings"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Calling this method is only valid on instances returned
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync by <link to="ISession::machine"/> and on new machines
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync created by <link to="IVirtualBox::createMachine"/> or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync opened by <link to="IVirtualBox::openMachine"/> but not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync yet registered, or on unregistered machines after calling
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::unregisterMachine"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine is not mutable.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="deleteSettings">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Deletes the settings file of this machine from disk.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The machine must not be registered in order for this operation
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to succeed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#settingsModified"/> will return TRUE after this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync method successfully returns.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Calling this method is only valid on instances returned
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync by <link to="ISession::machine"/> and on new machines
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync created by <link to="IVirtualBox::createMachine"/> or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync opened by <link to="IVirtualBox::openMachine"/> but not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync yet registered, or on unregistered machines after calling
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::unregisterMachine"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The deleted machine settings file can be restored (saved again)
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync by calling <link to="#saveSettings"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Cannot delete settings of a registered machine or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine not mutable.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_IPRT_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Could not delete the settings file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="export">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Exports the machine to an OVF appliance. See <link to="IAppliance" /> for the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync steps required to export VirtualBox machines to OVF.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aAppliance" type="IAppliance" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Appliance to export this machine to.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="aDescription" type="IVirtualSystemDescription" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>VirtualSystemDescription object which is created for this machine.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getSnapshot">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns a snapshot of this machine with the given UUID.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync A <tt>null</tt> UUID can be used to obtain the first snapshot
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync taken on this machine. This is useful if you want to traverse
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the whole tree of snapshots starting from the root.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine has no snapshots or snapshot not found.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>UUID of the snapshot to get</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="snapshot" type="ISnapshot" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Snapshot object with the given UUID.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="findSnapshot">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns a snapshot of this machine with the given name.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine has no snapshots or snapshot not found.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Name of the snapshot to find</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="snapshot" type="ISnapshot" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Snapshot object with the given name.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="setCurrentSnapshot">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Sets the current snapshot of this machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync In the current implementation, this operation is not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync implemented.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="uuid" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>UUID of the snapshot to set as the current snapshot.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="createSharedFolder">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Creates a new permanent shared folder by associating the given logical
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name with the given host path, adds it to the collection of shared
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync folders and starts sharing it. Refer to the description of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISharedFolder"/> to read more about logical names.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_IN_USE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Shared folder already exists.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Shared folder @a hostPath not accessible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Unique logical name of the shared folder.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="hostPath" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Full path to the shared folder in the host file system.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="writable" type="boolean" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Whether the share is writable or readonly</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="removeSharedFolder">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Removes the permanent shared folder with the given name previously
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync created by <link to="#createSharedFolder"/> from the collection of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync shared folders and stops sharing it.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine is not mutable.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_OBJECT_NOT_FOUND">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Shared folder @a name does not exist.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
25c99e8727472c3f8c5fc85c09628f75cc6f2cc6vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Logical name of the shared folder to remove.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="canShowConsoleWindow">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Returns @c true if the VM console process can activate the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync console window and bring it to foreground on the desktop of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the host PC.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method will fail if a session for this machine is not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync currently open.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Machine session is not open.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="canShow" type="boolean" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @c true if the console window can be shown and @c
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync false otherwise.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="showConsoleWindow">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Activates the console window and brings it to foreground on
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the desktop of the host PC. Many modern window managers on
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync many platforms implement some sort of focus stealing
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync prevention logic, so that it may be impossible to activate
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync a window without the help of the currently active
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync application. In this case, this method will return a non-zero
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync identifier that represents the top-level window of the VM
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync console process. The caller, if it represents a currently
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync active process, is responsible to use this identifier (in a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync platform-dependent manner) to perform actual window
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync activation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method will fail if a session for this machine is not
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync currently open.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Machine session is not open.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="winId" type="unsigned long long" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Platform-dependent identifier of the top-level VM console
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync window, or zero if this method has performed all actions
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync necessary to implement the <i>show window</i> semantics for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the given platform and/or VirtualBox front-end.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getGuestProperty">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Reads an entry from the machine's guest property store.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Machine session is not open.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The name of the property to read.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The value of the property. If the property does not exist then this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync will be empty.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="timestamp" type="unsigned long long" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The time at which the property was last modified, as seen by the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync server process.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="flags" type="wstring" dir="out">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Additional property parameters, passed as a comma-separated list of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "name=value" type entries.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getGuestPropertyValue">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Reads a value from the machine's guest property store.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Machine session is not open.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="property" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The name of the property to read.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The value of the property. If the property does not exist then this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync will be empty.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="getGuestPropertyTimestamp">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Reads a property timestamp from the machine's guest property store.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Machine session is not open.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="property" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The name of the property to read.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="unsigned long long" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The timestamp. If the property does not exist then this will be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync empty.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="setGuestProperty">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Sets, changes or deletes an entry in the machine's guest property
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync store.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_ACCESSDENIED">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Property cannot be changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_INVALIDARG">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid @a flags.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine is not mutable or session not open.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Cannot set transient property when machine not running.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="property" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The name of the property to set, change or delete.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The new value of the property to set, change or delete. If the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync property does not yet exist and value is non-empty, it will be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync created. If the value is empty, the key will be deleted if it
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync exists.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="flags" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Additional property parameters, passed as a comma-separated list of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync "name=value" type entries.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="setGuestPropertyValue">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Sets, changes or deletes a value in the machine's guest property
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync store. The flags field will be left unchanged or created empty for a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync new property.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="E_ACCESSDENIED">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Property cannot be changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine is not mutable or session not open.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_OBJECT_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Cannot set transient property when machine not running.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="property" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The name of the property to set, change or delete.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The new value of the property to set, change or delete. If the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync property does not yet exist and value is non-empty, it will be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync created. If value is empty, the property will be deleted if it
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync exists.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="enumerateGuestProperties">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Return a list of the guest properties matching a set of patterns along
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync with their values, time stamps and flags.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="patterns" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The patterns to match the properties against, separated by '|'
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync characters. If this is empty or NULL, all properties will match.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="name" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The names of the properties returned.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="value" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The values of the properties returned. The array entries match the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync corresponding entries in the @a name array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="timestamp" type="unsigned long long" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The time stamps of the properties returned. The array entries match
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the corresponding entries in the @a name array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="flags" type="wstring" dir="out" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The flags of the properties returned. The array entries match the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync corresponding entries in the @a name array.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync</interface>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <!--
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync // IConsole
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync /////////////////////////////////////////////////////////////////////////
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync -->
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IConsoleCallback" extends="$unknown"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="13dfbef3-b74d-487d-bada-2304529aefa6"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="suppress"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onMousePointerShapeChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when the guest mouse pointer shape has
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync changed. The new shape data is given.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="visible" type="boolean" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Flag whether the pointer is visible.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="alpha" type="boolean" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Flag whether the pointer has an alpha channel.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="xHot" type="unsigned long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The pointer hot spot x coordinate.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="yHot" type="unsigned long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The pointer hot spot y coordinate.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="width" type="unsigned long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Width of the pointer shape in pixels.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="height" type="unsigned long" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Height of the pointer shape in pixels.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="shape" type="octet" mod="ptr" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Address of the shape buffer.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The @a shape buffer contains a 1-bpp (bits per pixel) AND mask
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync followed by a 32-bpp XOR (color) mask.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For pointers without alpha channel the XOR mask pixels are 32
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync bit values: (lsb)BGR0(msb). For pointers with alpha channel
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the XOR mask consists of (lsb)BGRA(msb) 32 bit values.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync An AND mask is used for pointers with alpha channel, so if the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync callback does not support alpha, the pointer could be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync displayed as a normal color pointer.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The AND mask is a 1-bpp bitmap with byte aligned scanlines. The
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync size of the AND mask therefore is <tt>cbAnd = (width + 7) / 8 *
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync height</tt>. The padding bits at the end of each scanline are
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync undefined.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The XOR mask follows the AND mask on the next 4-byte aligned
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync offset: <tt>uint8_t *pXor = pAnd + (cbAnd + 3) &amp; ~3</tt>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Bytes in the gap between the AND and the XOR mask are undefined.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The XOR mask scanlines have no gap between them and the size of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the XOR mask is: <tt>cXor = width * 4 * height</tt>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If @a shape is 0, only the pointer visibility is changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onMouseCapabilityChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when the mouse capabilities reported by the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync guest have changed. The new capabilities are passed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="supportsAbsolute" type="boolean" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="needsHostCursor" type="boolean" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onKeyboardLedsChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when the guest OS executes the KBD_CMD_SET_LEDS command
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to alter the state of the keyboard LEDs.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="numLock" type="boolean" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="capsLock" type="boolean" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="scrollLock" type="boolean" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onStateChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when the execution state of the machine has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The new state will be given.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="state" type="MachineState" dir="in"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onAdditionsStateChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a Guest Additions property changes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Interested callees should query IGuest attributes to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync find out what has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onDVDDriveChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a property of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual <link to="IMachine::DVDDrive">DVD drive</link> changes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Interested callees should use IDVDDrive methods to find out what has
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onFloppyDriveChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a property of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual <link to="IMachine::floppyDrive">floppy drive</link> changes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Interested callees should use IFloppyDrive methods to find out what
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onNetworkAdapterChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a property of one of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual <link to="IMachine::getNetworkAdapter">network adapters</link>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync changes. Interested callees should use INetworkAdapter methods and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync attributes to find out what has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="networkAdapter" type="INetworkAdapter" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Network adapter that is subject to change.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onSerialPortChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync Notification when a property of one of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual <link to="IMachine::getSerialPort">serial ports</link> changes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Interested callees should use ISerialPort methods and attributes
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to find out what has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="serialPort" type="ISerialPort" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Serial port that is subject to change.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onParallelPortChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a property of one of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual <link to="IMachine::getParallelPort">parallel ports</link>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync changes. Interested callees should use ISerialPort methods and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync attributes to find out what has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="parallelPort" type="IParallelPort" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Parallel port that is subject to change.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onStorageControllerChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a property of one of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual <link to="IMachine::getStorageControllers">storage controllers</link>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync changes. Interested callees should use query the corresponding collections
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to find out what has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onVRDPServerChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a property of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine::VRDPServer">VRDP server</link> changes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Interested callees should use IVRDPServer methods and attributes to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync find out what has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onUSBControllerChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a property of the virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine::USBController">USB controller</link> changes.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Interested callees should use IUSBController methods and attributes to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync find out what has changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onUSBDeviceStateChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a USB device is attached to or detached from
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the virtual USB controller.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This notification is sent as a result of the indirect
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync request to attach the device because it matches one of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine USB filters, or as a result of the direct request
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync issued by <link to="IConsole::attachUSBDevice"/> or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IConsole::detachUSBDevice"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This notification is sent in case of both a succeeded and a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync failed request completion. When the request succeeds, the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a error parameter is @c null, and the given device has been
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync already added to (when @a attached is @c true) or removed from
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (when @a attached is @c false) the collection represented by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IConsole::USBDevices"/>. On failure, the collection
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync doesn't change and the @a error parameter represents the error
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync message describing the failure.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="device" type="IUSBDevice" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Device that is subject to state change.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="attached" type="boolean" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>true</tt> if the device was attached
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and <tt>false</tt> otherwise.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="error" type="IVirtualBoxErrorInfo" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <tt>null</tt> on success or an error message object on
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync failure.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onSharedFolderChange">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a shared folder is added or removed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The @a scope argument defines one of three scopes:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::sharedFolders">global shared folders</link>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (<link to="Scope_Global">Global</link>),
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine::sharedFolders">permanent shared folders</link> of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the machine (<link to="Scope_Machine">Machine</link>) or <link
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to="IConsole::sharedFolders">transient shared folders</link> of the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine (<link to="Scope_Session">Session</link>). Interested callees
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync should use query the corresponding collections to find out what has
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync changed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="scope" type="Scope" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Scope of the notification.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onRuntimeError">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when an error happens during the virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine execution.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync There are three kinds of runtime errors:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><i>fatal</i></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><i>non-fatal with retry</i></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><i>non-fatal warnings</i></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <b>Fatal</b> errors are indicated by the @a fatal parameter set
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to <tt>true</tt>. In case of fatal errors, the virtual machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync execution is always paused before calling this notification, and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the notification handler is supposed either to immediately save
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the virtual machine state using <link to="IConsole::saveState"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync or power it off using <link to="IConsole::powerDown"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Resuming the execution can lead to unpredictable results.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <b>Non-fatal</b> errors and warnings are indicated by the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @a fatal parameter set to <tt>false</tt>. If the virtual machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync is in the Paused state by the time the error notification is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync received, it means that the user can <i>try to resume</i> the machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync execution after attempting to solve the problem that caused the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync error. In this case, the notification handler is supposed
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to show an appropriate message to the user (depending on the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync value of the @a id parameter) that offers several actions such
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync as <i>Retry</i>, <i>Save</i> or <i>Power Off</i>. If the user
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wants to retry, the notification handler should continue
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the machine execution using the <link to="IConsole::resume"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync call. If the machine execution is not Paused during this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync notification, then it means this notification is a <i>warning</i>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (for example, about a fatal condition that can happen very soon);
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync no immediate action is required from the user, the machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync continues its normal execution.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that in either case the notification handler
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <b>must not</b> perform any action directly on a thread
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync where this notification is called. Everything it is allowed to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync do is to post a message to another thread that will then talk
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to the user and take the corresponding action.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Currently, the following error identifiers are known:
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><tt>"HostMemoryLow"</tt></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><tt>"HostAudioNotResponding"</tt></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <li><tt>"VDIStorageFull"</tt></li>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </ul>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This notification is not designed to be implemented by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync more than one callback at a time. If you have multiple
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync IConsoleCallback instances registered on the given
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync IConsole object, make sure you simply do nothing but
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync return @c S_OK from all but one of them that does actual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync user notification and performs necessary actions.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="fatal" type="boolean" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Whether the error is fatal or not</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="id" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Error identifier</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="message" type="wstring" dir="in">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Optional error message</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onCanShowWindow">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a call to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine::canShowConsoleWindow"/> is made by a
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync front-end to check if a subsequent call to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine::showConsoleWindow"/> can succeed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The callee should give an answer appropriate to the current
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine state in the @a canShow argument. This answer must
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync remain valid at least until the next
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IConsole::state">machine state</link> change.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This notification is not designed to be implemented by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync more than one callback at a time. If you have multiple
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync IConsoleCallback instances registered on the given
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync IConsole object, make sure you simply do nothing but
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync return @c true and @c S_OK from all but one of them that
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync actually manages console window activation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="canShow" type="boolean" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @c true if the console window can be shown and @c
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync false otherwise.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="onShowWindow">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Notification when a call to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine::showConsoleWindow"/>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync requests the console window to be activated and brought to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync foreground on the desktop of the host PC.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This notification should cause the VM console process to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync perform the requested action as described above. If it is
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync impossible to do it at a time of this notification, this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync method should return a failure.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Note that many modern window managers on many platforms
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync implement some sort of focus stealing prevention logic, so
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync that it may be impossible to activate a window without the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync help of the currently active application (which is supposedly
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync an initiator of this notification). In this case, this method
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync must return a non-zero identifier that represents the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync top-level window of the VM console process. The caller, if it
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync represents a currently active process, is responsible to use
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync this identifier (in a platform-dependent manner) to perform
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync actual window activation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This method must set @a winId to zero if it has performed all
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync actions necessary to complete the request and the console
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync window is now active and in foreground, to indicate that no
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync further action is required on the caller's side.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This notification is not designed to be implemented by
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync more than one callback at a time. If you have multiple
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync IConsoleCallback instances registered on the given
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync IConsole object, make sure you simply do nothing but
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync return @c S_OK from all but one of them that actually
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync manages console window activation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="winId" type="unsigned long long" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Platform-dependent identifier of the top-level VM console
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync window, or zero if this method has performed all actions
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync necessary to implement the <i>show window</i> semantics for
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the given platform and/or this VirtualBox front-end.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </interface>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IRemoteDisplayInfo" extends="$unknown"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="550104cd-2dfd-4a6c-857d-f6f8e088e62c"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="struct"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Contains information about the remote display (VRDP) capabilities and status.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This is used in the <link to="IConsole::remoteDisplayInfo" /> attribute.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="active" type="boolean" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Whether the remote display connection is active.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="numberOfClients" type="unsigned long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync How many times a client connected.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="beginTime" type="long long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync When the last connection was established, in milliseconds since 1970-01-01 UTC.
1f1f533d5b88c35cf740dca55c6f1937d1035a36vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="endTime" type="long long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync When the last connection was terminated or the current time, if
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync connection is still active, in milliseconds since 1970-01-01 UTC.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="bytesSent" type="unsigned long long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync How many bytes were sent in last or current, if still active, connection.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="bytesSentTotal" type="unsigned long long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync How many bytes were sent in all connections.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="bytesReceived" type="unsigned long long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync How many bytes were received in last or current, if still active, connection.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="bytesReceivedTotal" type="unsigned long long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync How many bytes were received in all connections.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="user" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Login user name supplied by the client.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="domain" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Login domain name supplied by the client.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="clientName" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The client name supplied by the client.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="clientIP" type="wstring" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The IP address of the client.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="clientVersion" type="unsigned long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The client software version number.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="encryptionStyle" type="unsigned long" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Public key exchange method used when connection was established.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Values: 0 - RDP4 public key exchange scheme.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync 1 - X509 certificates were sent to client.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </interface>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <interface
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync name="IConsole" extends="$unknown"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync uuid="9511bc54-15ee-4ddf-808e-472aba03809c"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync wsmap="managed"
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync >
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The IConsole interface represents an interface to control virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync machine execution.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The console object that implements the IConsole interface is obtained
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync from a session object after the session for the given machine has been
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync opened using one of <link to="IVirtualBox::openSession"/>,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::openRemoteSession"/> or
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::openExistingSession"/> methods.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Methods of the IConsole interface allow the caller to query the current
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync virtual machine execution state, pause the machine or power it down, save
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the machine state or take a snapshot, attach and detach removable media
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync and so on.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>ISession</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="machine" type="IMachine" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Machine object this console is sessioned with.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This is a convenience property, it has the same value as
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="ISession::machine"/> of the corresponding session
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync object.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="state" type="MachineState" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Current execution state of the machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync This property always returns the same value as the corresponding
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync property of the IMachine object this console is sessioned with.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync For the process that owns (executes) the VM, this is the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync preferable way of querying the VM state, because no IPC
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync calls are made.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="guest" type="IGuest" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Guest object.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="keyboard" type="IKeyboard" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual keyboard object.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the machine is not running, any attempt to use
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the returned object will result in an error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="mouse" type="IMouse" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual mouse object.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the machine is not running, any attempt to use
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the returned object will result in an error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="display" type="IDisplay" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Virtual display object.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the machine is not running, any attempt to use
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the returned object will result in an error.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="debugger" type="IMachineDebugger" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Debugging interface.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="USBDevices" type="IUSBDevice" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Collection of USB devices currently attached to the virtual
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync USB controller.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The collection is empty if the machine is not running.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="remoteUSBDevices" type="IHostUSBDevice" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync List of USB devices currently attached to the remote VRDP client.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Once a new device is physically attached to the remote host computer,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync it appears in this list and remains there until detached.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="sharedFolders" type="ISharedFolder" readonly="yes" safearray="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Collection of shared folders for the current session. These folders
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync are called transient shared folders because they are available to the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync guest OS running inside the associated virtual machine only for the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync duration of the session (as opposed to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IMachine::sharedFolders"/> which represent permanent shared
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync folders). When the session is closed (e.g. the machine is powered down),
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync these folders are automatically discarded.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync New shared folders are added to the collection using
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="#createSharedFolder"/>. Existing shared folders can be
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync removed using <link to="#removeSharedFolder"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <attribute name="remoteDisplayInfo" type="IRemoteDisplayInfo" readonly="yes">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Interface that provides information on Remote Display (VRDP) connection.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </attribute>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="powerUp">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Starts the virtual machine execution using the current machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync state (that is, its current execution state, current settings and
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync current hard disks).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the machine is powered off or aborted, the execution will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync start from the beginning (as if the real hardware were just
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync powered on).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync If the machine is in the <link to="MachineState_Saved"/> state,
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync it will continue its execution the point where the state has
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync been saved.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Unless you are trying to write a new VirtualBox front-end that
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync performs direct machine execution (like the VirtualBox or VBoxSDL
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync front-ends), don't call <link to="IConsole::powerUp"/> in a direct
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync session opened by <link to="IVirtualBox::openSession"/> and use this
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync session only to change virtual machine settings. If you simply want to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync start virtual machine execution using one of the existing front-ends
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync (for example the VirtualBox GUI or headless server), simply use
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="IVirtualBox::openRemoteSession"/>; these front-ends will
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync power up the machine automatically for you.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </note>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>#saveState</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine already running.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_HOST_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Host interface does not exist or name not set.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid saved state file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="progress" type="IProgress" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Progress object to track the operation completion.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="powerUpPaused">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Identical to powerUp except that the VM will enter the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="MachineState_Paused"/> state, instead of
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <link to="MachineState_Running"/>.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <see>#powerUp</see>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine already running.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_HOST_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Host interface does not exist or name not set.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_FILE_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Invalid saved state file.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="progress" type="IProgress" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Progress object to track the operation completion.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="powerDown">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Stops the virtual machine execution.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync After this operation completes, the machine will go to the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync PoweredOff state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @deprecated This method will be removed in VirtualBox 2.1 where the
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync powerDownAsync() method will take its name. Do not use this method in
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync the code.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine must be Running, Paused or Stuck to be powered down.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_VM_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Unable to power off or destroy virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="powerDownAsync">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Initiates the power down procedure to stop the virtual machine
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync execution.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync The completion of the power down procedure is tracked using the returned
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync IProgress object. After the operation is complete, the machine will go
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync to the PoweredOff state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync @warning This method will be renamed to "powerDown" in VirtualBox 2.1
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync where the original powerDown() method will be removed. You will need to
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync rename "powerDownAsync" to "powerDown" in your sources to make them
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync build with version 2.1.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine must be Running, Paused or Stuck to be powered down.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <param name="progress" type="IProgress" dir="return">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Progress object to track the operation completion.</desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </param>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="reset">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Resets the virtual machine.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine not in Running state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_VM_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine error in reset operation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="pause">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Pauses the virtual machine execution.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine not in Running state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_VM_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine error in suspend operation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="resume">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Resumes the virtual machine execution.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine not in Paused state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_VM_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine error in resume operation.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <method name="powerButton">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <desc>Sends the ACPI power button event to the guest.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_INVALID_VM_STATE">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Virtual machine not in Running state.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync <result name="VBOX_E_PDM_ERROR">
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync Controlled power off failed.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </result>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </desc>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync </method>
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync
<method name="sleepButton">
<desc>Sends the ACPI sleep button event to the guest.
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine not in Running state.
</result>
<result name="VBOX_E_PDM_ERROR">
Sending sleep button event failed.
</result>
</desc>
</method>
<method name="getPowerButtonHandled">
<desc>Checks if the last power button event was handled by guest.
<result name="VBOX_E_PDM_ERROR">
Checking if the event was handled by the guest OS failed.
</result>
</desc>
<param name="handled" type="boolean" dir="return"/>
</method>
<method name="getGuestEnteredACPIMode">
<desc>Checks if the guest entered the ACPI mode G0 (working) or
G1 (sleeping). If this method returns false, the guest will
most likely not respond to external ACPI events.
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine not in Running state.
</result>
</desc>
<param name="entered" type="boolean" dir="return"/>
</method>
<method name="saveState">
<desc>
Saves the current execution state of a running virtual machine
and stops its execution.
After this operation completes, the machine will go to the
Saved state. Next time it is powered up, this state will
be restored and the machine will continue its execution from
the place where it was saved.
This operation differs from taking a snapshot to the effect
that it doesn't create new differencing hard disks. Also, once
the machine is powered up from the state saved using this method,
the saved state is deleted, so it will be impossible to return
to this state later.
<note>
On success, this method implicitly calls
<link to="IMachine::saveSettings"/> to save all current machine
settings (including runtime changes to the DVD drive, etc.).
Together with the impossibility to change any VM settings when it is
in the Saved state, this guarantees adequate hardware
configuration of the machine when it is restored from the saved
state file.
</note>
<note>
The machine must be in the Running or Paused state, otherwise
the operation will fail.
</note>
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine state neither Running nor Paused.
</result>
<result name="VBOX_E_FILE_ERROR">
Failed to create directory for saved state file.
</result>
<see><link to="#takeSnapshot"/></see>
</desc>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<method name="adoptSavedState">
<desc>
Associates the given saved state file to the virtual machine.
On success, the machine will go to the Saved state. Next time it is
powered up, it will be restored from the adopted saved state and
continue execution from the place where the saved state file was
created.
The specified saved state file path may be absolute or relative to the
folder the VM normally saves the state to (usually,
<link to="IMachine::snapshotFolder"/>).
<note>
It's a caller's responsibility to make sure the given saved state
file is compatible with the settings of this virtual machine that
represent its virtual hardware (memory size, hard disk configuration
etc.). If there is a mismatch, the behavior of the virtual machine
is undefined.
</note>
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine state neither PoweredOff nor Aborted.
</result>
</desc>
<param name="savedStateFile" type="wstring" dir="in">
<desc>Path to the saved state file to adopt.</desc>
</param>
</method>
<method name="discardSavedState">
<desc>
Discards (deletes) the saved state of the virtual machine
previously created by <link to="#saveState"/>. Next time the
machine is powered up, a clean boot will occur.
<note>
This operation is equivalent to resetting or powering off
the machine without doing a proper shutdown in the guest OS.
</note>
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine not in state Saved.
</result>
</desc>
</method>
<method name="getDeviceActivity">
<desc>
Gets the current activity type of a given device or device group.
<result name="E_INVALIDARG">
Invalid device type.
</result>
</desc>
<param name="type" type="DeviceType" dir="in"/>
<param name="activity" type="DeviceActivity" dir="return"/>
</method>
<method name="attachUSBDevice">
<desc>
Attaches a host USB device with the given UUID to the
USB controller of the virtual machine.
The device needs to be in one of the following states:
<link to="USBDeviceState_Busy"/>,
<link to="USBDeviceState_Available"/> or
<link to="USBDeviceState_Held"/>,
otherwise an error is immediately returned.
When the device state is
<link to="USBDeviceState_Busy">Busy</link>, an error may also
be returned if the host computer refuses to release it for some reason.
<see>IUSBController::deviceFilters, USBDeviceState</see>
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine state neither Running nor Paused.
</result>
<result name="VBOX_E_PDM_ERROR">
Virtual machine does not have a USB controller.
</result>
</desc>
<param name="id" type="uuid" dir="in">
<desc>UUID of the host USB device to attach.</desc>
</param>
</method>
<method name="detachUSBDevice">
<desc>
Detaches an USB device with the given UUID from the USB controller
of the virtual machine.
After this method succeeds, the VirtualBox server re-initiates
all USB filters as if the device were just physically attached
to the host, but filters of this machine are ignored to avoid
a possible automatic re-attachment.
<see>IUSBController::deviceFilters, USBDeviceState</see>
<result name="VBOX_E_PDM_ERROR">
Virtual machine does not have a USB controller.
</result>
<result name="E_INVALIDARG">
USB device not attached to this virtual machine.
</result>
</desc>
<param name="id" type="uuid" dir="in">
<desc>UUID of the USB device to detach.</desc>
</param>
<param name="device" type="IUSBDevice" dir="return">
<desc>Detached USB device.</desc>
</param>
</method>
<method name="findUSBDeviceByAddress">
<desc>
Searches for a USB device with the given host address.
<result name="VBOX_E_OBJECT_NOT_FOUND">
Given @c name does not correspond to any USB device.
</result>
<see>IUSBDevice::address</see>
</desc>
<param name="name" type="wstring" dir="in">
<desc>
Address of the USB device (as assigned by the host) to
search for.
</desc>
</param>
<param name="device" type="IUSBDevice" dir="return">
<desc>Found USB device object.</desc>
</param>
</method>
<method name="findUSBDeviceById">
<desc>
Searches for a USB device with the given UUID.
<result name="VBOX_E_OBJECT_NOT_FOUND">
Given @c id does not correspond to any USB device.
</result>
<see>IUSBDevice::id</see>
</desc>
<param name="id" type="uuid" dir="in">
<desc>UUID of the USB device to search for.</desc>
</param>
<param name="device" type="IUSBDevice" dir="return">
<desc>Found USB device object.</desc>
</param>
</method>
<method name="createSharedFolder">
<desc>
Creates a transient new shared folder by associating the given logical
name with the given host path, adds it to the collection of shared
folders and starts sharing it. Refer to the description of
<link to="ISharedFolder"/> to read more about logical names.
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine in Saved state or currently changing state.
</result>
<result name="VBOX_E_FILE_ERROR">
Shared folder already exists or not accessible.
</result>
</desc>
<param name="name" type="wstring" dir="in">
<desc>Unique logical name of the shared folder.</desc>
</param>
<param name="hostPath" type="wstring" dir="in">
<desc>Full path to the shared folder in the host file system.</desc>
</param>
<param name="writable" type="boolean" dir="in">
<desc>Whether the share is writable or readonly</desc>
</param>
</method>
<method name="removeSharedFolder">
<desc>
Removes a transient shared folder with the given name previously
created by <link to="#createSharedFolder"/> from the collection of
shared folders and stops sharing it.
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine in Saved state or currently changing state.
</result>
<result name="VBOX_E_FILE_ERROR">
Shared folder does not exists.
</result>
</desc>
<param name="name" type="wstring" dir="in">
<desc>Logical name of the shared folder to remove.</desc>
</param>
</method>
<method name="takeSnapshot">
<desc>
Saves the current execution state and all settings of the
machine and creates differencing images for all
normal (non-independent) hard disks.
This method can be called for a PoweredOff, Saved, Running or
Paused virtual machine. When the machine is PoweredOff, an
offline <link to="ISnapshot">snapshot</link> is created,
in all other cases -- an online snapshot.
The taken snapshot is always based on the
<link to="IMachine::currentSnapshot">current
snapshot</link> of the associated virtual machine and becomes
a new current snapshot.
<note>
This method implicitly calls <link to="IMachine::saveSettings"/> to
save all current machine settings before taking an offline snapshot.
</note>
<see>ISnapshot, <link to="#saveState"/></see>
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine currently changing state.
</result>
</desc>
<param name="name" type="wstring" dir="in">
<desc>Short name for the snapshot.</desc>
</param>
<param name="description" type="wstring" dir="in">
<desc>Optional description of the snapshot.</desc>
</param>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<method name="discardSnapshot">
<desc>
Starts discarding the specified snapshot. The execution state
and settings of the associated machine stored in the snapshot
will be deleted. The contents of all differencing hard disks of
this snapshot will be merged with the contents of their
dependent child hard disks to keep the, disks valid (in other
words, all changes represented by hard disks being discarded
will be propagated to their child hard disks). After that, this
snapshot's differencing hard disks will be deleted. The parent
of this snapshot will become a new parent for all its child
snapshots.
If the discarded snapshot is the current one, its parent
snapshot will become a new current snapshot. The current machine
state is not directly affected in this case, except that
currently attached differencing hard disks based on hard disks
of the discarded snapshot will be also merged as described
above.
If the discarded snapshot is the first one (the root snapshot)
and it has exactly one child snapshot, this child snapshot will
become the first snapshot after discarding. If there are no
children at all (i.e. the first snapshot is the only snapshot of
the machine), both the current and the first snapshot of the
machine will be set to null. In all other cases, the first
snapshot cannot be discarded.
You cannot discard the snapshot if it
stores <link to="HardDiskType_Normal">normal</link> (non-differencing)
hard disks that have differencing hard disks based on them. Snapshots of
such kind can be discarded only when every normal hard disk has either
no children at all or exactly one child. In the former case, the normal
hard disk simply becomes unused (i.e. not attached to any VM). In the
latter case, it receives all the changes stored in the child hard disk,
and then it replaces the child hard disk in the configuration of the
corresponding snapshot or machine.
Also, you cannot discard the snapshot if it stores hard disks
(of any type) having differencing child hard disks that belong
to other machines. Such snapshots can be only discarded after
you discard all snapshots of other machines containing "foreign"
child disks, or detach these "foreign" child disks from machines
they are attached to.
One particular example of the snapshot storing normal hard disks
is the first snapshot of a virtual machine that had normal hard
disks attached when taking the snapshot. Be careful when
discarding such snapshots because this implicitly commits
changes (made since the snapshot being discarded has been taken)
to normal hard disks (as described above), which may be not what
you want.
The virtual machine is put to
the <link to="MachineState_Discarding">Discarding</link> state until
the discard operation is completed.
<note>
The machine must not be running, otherwise the operation
will fail.
</note>
<note>
Child hard disks of all normal hard disks of the discarded snapshot
must be accessible (see <link to="IMedium::state"/>) for this
operation to succeed. In particular, this means that all virtual
machines, whose hard disks are directly or indirectly based on the
hard disks of discarded snapshot, must be powered off.
</note>
<note>
Merging hard disk contents can be very time and disk space
consuming, if these disks are big in size and have many
children. However, if the snapshot being discarded is the last
(head) snapshot on the branch, the operation will be rather
quick.
</note>
<note>
Note that discarding the current snapshot
will implicitly call <link to="IMachine::saveSettings"/> to
make all current machine settings permanent.
</note>
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine is running.
</result>
</desc>
<param name="id" type="uuid" dir="in">
<desc>UUID of the snapshot to discard.</desc>
</param>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<method name="discardCurrentState">
<desc>
This operation is similar to <link to="#discardSnapshot"/> but
affects the current machine state. This means that the state stored in
the current snapshot will become a new current state, and all current
settings of the machine and changes stored in differencing hard disks
will be lost.
After this operation is successfully completed, new empty differencing
hard disks are created for all normal hard disks of the machine.
If the current snapshot of the machine is an online snapshot, the
machine will go to the <link to="MachineState_Saved"> saved
state</link>, so that the next time it is powered on, the execution
state will be restored from the current snapshot.
<note>
The machine must not be running, otherwise the operation will fail.
</note>
<note>
If the machine state is <link to="MachineState_Saved">Saved</link>
prior to this operation, the saved state file will be implicitly
discarded (as if <link to="IConsole::discardSavedState"/> were
called).
</note>
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine is running.
</result>
</desc>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<method name="discardCurrentSnapshotAndState">
<desc>
This method is equivalent to
doing <link to="IConsole::discardSnapshot">discardSnapshot</link>
(currentSnapshot.id(), progress) followed by
<link to="#discardCurrentState"/>.
As a result, the machine will be fully restored from the
snapshot preceding the current snapshot, while both the current
snapshot and the current machine state will be discarded.
If the current snapshot is the first snapshot of the machine (i.e. it
has the only snapshot), the current machine state will be
discarded <b>before</b> discarding the snapshot. In other words, the
machine will be restored from its last snapshot, before discarding
it. This differs from performing a single
<link to="#discardSnapshot"/> call (note that no
<link to="#discardCurrentState"/> will be possible after it)
to the effect that the latter will preserve the current state instead of
discarding it.
Unless explicitly mentioned otherwise, all remarks and
limitations of the above two methods also apply to this method.
<note>
The machine must not be running, otherwise the operation
will fail.
</note>
<note>
If the machine state is <link to="MachineState_Saved">Saved</link>
prior to this operation, the saved state file will be implicitly
discarded (as if <link to="#discardSavedState"/> were
called).
</note>
<note>
This method is more efficient than calling both of the above
methods separately: it requires less IPC calls and provides
a single progress object.
</note>
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine is running.
</result>
</desc>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<method name="registerCallback">
<desc>
Registers a new console callback on this instance. The methods of the
callback interface will be called by this instance when the appropriate
event occurs.
</desc>
<param name="callback" type="IConsoleCallback" dir="in"/>
</method>
<method name="unregisterCallback">
<desc>
Unregisters the console callback previously registered using
<link to="#registerCallback"/>.
<result name="E_INVALIDARG">
Given @a callback handler is not registered.
</result>
</desc>
<param name="callback" type="IConsoleCallback" dir="in"/>
</method>
</interface>
<!--
// IHost
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IHostDVDDrive" extends="$unknown"
uuid="21f86694-202d-4ce4-8b05-a63ff82dbf4c"
wsmap="managed"
>
<desc>
The IHostDVDDrive interface represents the physical CD/DVD drive
hardware on the host. Used indirectly in <link to="IHost::DVDDrives"/>.
</desc>
<attribute name="name" type="wstring" readonly="yes">
<desc>
Returns the platform-specific device identifier.
On DOS-like platforms, it is a drive name (e.g. R:).
On Unix-like platforms, it is a device name (e.g. /dev/hdc).
</desc>
</attribute>
<attribute name="description" type="wstring" readonly="yes">
<desc>
Returns a human readable description for the drive. This
description usually contains the product and vendor name. A
@c null string is returned if the description is not available.
</desc>
</attribute>
<attribute name="udi" type="wstring" readonly="yes">
<desc>
Returns the unique device identifier for the drive. This
attribute is reserved for future use instead of
<link to="#name"/>. Currently it is not used and may return
@c null on some platforms.
</desc>
</attribute>
</interface>
<interface
name="IHostFloppyDrive" extends="$unknown"
uuid="3f02d604-e908-4919-9fd1-8a4afd68fc63"
wsmap="managed"
>
<desc>
The IHostFloppyDrive interface represents the physical floppy drive
hardware on the host. Used indirectly in <link to="IHost::floppyDrives"/>.
</desc>
<attribute name="name" type="wstring" readonly="yes">
<desc>
Returns the platform-specific device identifier.
On DOS-like platforms, it is a drive name (e.g. A:).
On Unix-like platforms, it is a device name (e.g. /dev/fd0).
</desc>
</attribute>
<attribute name="description" type="wstring" readonly="yes">
<desc>
Returns a human readable description for the drive. This
description usually contains the product and vendor name. A
@c null string is returned if the description is not available.
</desc>
</attribute>
<attribute name="udi" type="wstring" readonly="yes">
<desc>
Returns the unique device identifier for the drive. This
attribute is reserved for future use instead of
<link to="#name"/>. Currently it is not used and may return
@c null on some platforms.
</desc>
</attribute>
</interface>
<enum
name="HostNetworkInterfaceMediumType"
uuid="1aa54aaf-2497-45a2-bfb1-8eb225e93d5b"
>
<desc>
Type of encapsulation. Ethernet encapsulation includes both wired and
wireless Ethernet connections.
<see>IHostNetworkInterface</see>
</desc>
<const name="Unknown" value="0">
<desc>
The type of interface cannot be determined.
</desc>
</const>
<const name="Ethernet" value="1">
<desc>
Ethernet frame encapsulation.
</desc>
</const>
<const name="PPP" value="2">
<desc>
Point-to-point protocol encapsulation.
</desc>
</const>
<const name="SLIP" value="3">
<desc>
Serial line IP encapsulation.
</desc>
</const>
</enum>
<enum
name="HostNetworkInterfaceStatus"
uuid="CC474A69-2710-434B-8D99-C38E5D5A6F41"
>
<desc>
Current status of the interface.
<see>IHostNetworkInterface</see>
</desc>
<const name="Unknown" value="0">
<desc>
The state of interface cannot be determined.
</desc>
</const>
<const name="Up" value="1">
<desc>
The interface is fully operational.
</desc>
</const>
<const name="Down" value="2">
<desc>
The interface is not functioning.
</desc>
</const>
</enum>
<enum
name="HostNetworkInterfaceType"
uuid="67431b00-9946-48a2-bc02-b25c5919f4f3"
>
<desc>
Network interface type.
</desc>
<const name="Bridged" value="1"/>
<const name="HostOnly" value="2"/>
</enum>
<interface
name="IHostNetworkInterface" extends="$unknown"
uuid="88adaf3f-166b-4542-9457-0f1323507fae"
wsmap="managed"
>
<desc>
Reprents one of host's network interfaces. IP V6 address and network
mask are strings of 32 hexdecimal digits grouped by four. Groups are
separated by colons.
For example, fe80:0000:0000:0000:021e:c2ff:fed2:b030.
</desc>
<attribute name="name" type="wstring" readonly="yes">
<desc>Returns the host network interface name.</desc>
</attribute>
<attribute name="id" type="uuid" readonly="yes">
<desc>Returns the interface UUID.</desc>
</attribute>
<attribute name="networkName" type="wstring" readonly="yes">
<desc>Returns the name of a virtual network the interface gets attached to.</desc>
</attribute>
<attribute name="dhcpEnabled" type="boolean" readonly="yes">
<desc>Specifies whether the DHCP is enabled for the interface.</desc>
</attribute>
<attribute name="IPAddress" type="wstring" readonly="yes">
<desc>Returns the IP V4 address of the interface.</desc>
</attribute>
<attribute name="networkMask" type="wstring" readonly="yes">
<desc>Returns the network mask of the interface.</desc>
</attribute>
<attribute name="IPV6Supported" type="boolean" readonly="yes">
<desc>Specifies whether the IP V6 is supported/enabled for the interface.</desc>
</attribute>
<attribute name="IPV6Address" type="wstring" readonly="yes">
<desc>Returns the IP V6 address of the interface.</desc>
</attribute>
<attribute name="IPV6NetworkMaskPrefixLength" type="unsigned long" readonly="yes">
<desc>Returns the length IP V6 network mask prefix of the interface.</desc>
</attribute>
<attribute name="hardwareAddress" type="wstring" readonly="yes">
<desc>Returns the hardware address. For Ethernet it is MAC address.</desc>
</attribute>
<attribute name="mediumType" type="HostNetworkInterfaceMediumType" readonly="yes">
<desc>Type of protocol encapsulation used.</desc>
</attribute>
<attribute name="status" type="HostNetworkInterfaceStatus" readonly="yes">
<desc>Status of the interface.</desc>
</attribute>
<attribute name="interfaceType" type="HostNetworkInterfaceType" readonly="yes">
<desc>specifies the host interface type.</desc>
</attribute>
<method name="enableStaticIpConfig">
<desc>sets and enables the static IP V4 configuration for the given interface.</desc>
<param name="IPAddress" type="wstring" dir="in">
<desc>
IP address.
</desc>
</param>
<param name="networkMask" type="wstring" dir="in">
<desc>
network mask.
</desc>
</param>
</method>
<method name="enableStaticIpConfigV6">
<desc>sets and enables the static IP V6 configuration for the given interface.</desc>
<param name="IPV6Address" type="wstring" dir="in">
<desc>
IP address.
</desc>
</param>
<param name="IPV6NetworkMaskPrefixLength" type="unsigned long" dir="in">
<desc>
network mask.
</desc>
</param>
</method>
<method name="enableDynamicIpConfig">
<desc>enables the dynamic IP configuration.</desc>
</method>
<method name="dhcpRediscover">
<desc>refreshes the IP configuration for dhcp-enabled interface.</desc>
</method>
</interface>
<interface
name="IHost" extends="$unknown"
uuid="926469ca-9091-42ef-928e-582d78b66c70"
wsmap="managed"
>
<desc>
The IHost interface represents the physical machine that this VirtualBox
installation runs on.
An object implementing this interface is returned by the
<link to="IVirtualBox::host" /> attribute. This interface contains
read-only information about the host's physical hardware (such as what
processors and disks are available, what the host operating system is,
and so on) and also allows for manipulating some of the host's hardware,
such as global USB device filters and host interface networking.
</desc>
<attribute name="DVDDrives" type="IHostDVDDrive" readonly="yes" safearray="yes">
<desc>List of DVD drives available on the host.</desc>
</attribute>
<attribute name="floppyDrives" type="IHostFloppyDrive" readonly="yes" safearray="yes">
<desc>List of floppy drives available on the host.</desc>
</attribute>
<attribute name="USBDevices" type="IHostUSBDevice" readonly="yes" safearray="yes">
<desc>
List of USB devices currently attached to the host.
Once a new device is physically attached to the host computer,
it appears in this list and remains there until detached.
<note>
This method may set a @ref com_warnings "warning result code".
</note>
<note>
If USB functionality is not available in the given edition of
VirtualBox, this method will set the result code to @c E_NOTIMPL.
</note>
</desc>
</attribute>
<attribute name="USBDeviceFilters" type="IHostUSBDeviceFilter" readonly="yes" safearray="yes">
<desc>
List of USB device filters in action.
When a new device is physically attached to the host computer,
filters from this list are applied to it (in order they are stored
in the list). The first matched filter will determine the
<link to="IHostUSBDeviceFilter::action">action</link>
performed on the device.
Unless the device is ignored by these filters, filters of all
currently running virtual machines
(<link to="IUSBController::deviceFilters"/>) are applied to it.
<note>
This method may set a @ref com_warnings "warning result code".
</note>
<note>
If USB functionality is not available in the given edition of
VirtualBox, this method will set the result code to @c E_NOTIMPL.
</note>
<see>IHostUSBDeviceFilter, USBDeviceState</see>
</desc>
</attribute>
<attribute name="networkInterfaces" type="IHostNetworkInterface" safearray="yes" readonly="yes">
<desc>List of host network interfaces currently defined on the host.</desc>
</attribute>
<attribute name="processorCount" type="unsigned long" readonly="yes">
<desc>Number of (logical) CPUs installed in the host system.</desc>
</attribute>
<attribute name="processorOnlineCount" type="unsigned long" readonly="yes">
<desc>Number of (logical) CPUs online in the host system.</desc>
</attribute>
<method name="getProcessorSpeed">
<desc>Query the (approximate) maximum speed of a specified host CPU in
Megahertz.
</desc>
<param name="cpuId" type="unsigned long" dir="in">
<desc>
Identifier of the CPU.
</desc>
</param>
<param name="speed" type="unsigned long" dir="return">
<desc>
Speed value. 0 is returned if value is not known or @a cpuId is
invalid.
</desc>
</param>
</method>
<method name="getProcessorFeature">
<desc>Query whether a CPU feature is supported or not.</desc>
<param name="feature" type="ProcessorFeature" dir="in">
<desc>
CPU Feature identifier.
</desc>
</param>
<param name="supported" type="boolean" dir="return">
<desc>
Feature is supported or not.
</desc>
</param>
</method>
<method name="getProcessorDescription">
<desc>Query the model string of a specified host CPU.
<note>
This function is not implemented in the current version of the
product.
</note>
</desc>
<param name="cpuId" type="unsigned long" dir="in">
<desc>
Identifier of the CPU.
</desc>
</param>
<param name="description" type="wstring" dir="return">
<desc>
Model string. A NULL string is returned if value is not known or
@a cpuId is invalid.
</desc>
</param>
</method>
<attribute name="memorySize" type="unsigned long" readonly="yes">
<desc>Amount of system memory in megabytes installed in the host system.</desc>
</attribute>
<attribute name="memoryAvailable" type="unsigned long" readonly="yes">
<desc>Available system memory in the host system.</desc>
</attribute>
<attribute name="operatingSystem" type="wstring" readonly="yes">
<desc>Name of the host system's operating system.</desc>
</attribute>
<attribute name="OSVersion" type="wstring" readonly="yes">
<desc>Host operating system's version string.</desc>
</attribute>
<attribute name="UTCTime" type="long long" readonly="yes">
<desc>Returns the current host time in milliseconds since 1970-01-01 UTC.</desc>
</attribute>
<if target="midl">
<method name="createHostOnlyNetworkInterface">
<desc>
Creates a new adapter for Host Only Networking.
<result name="E_INVALIDARG">
Host network interface @a name already exists.
</result>
</desc>
<param name="hostInterface" type="IHostNetworkInterface" dir="out">
<desc>
Created host interface object.
</desc>
</param>
<param name="progress" type="IProgress" dir="return">
<desc>
Progress object to track the operation completion.
</desc>
</param>
</method>
<method name="removeHostOnlyNetworkInterface">
<desc>
Removes the given Host Only Networking interface.
<result name="VBOX_E_OBJECT_NOT_FOUND">
No host network interface matching @a id found.
</result>
</desc>
<param name="id" type="uuid" dir="in">
<desc>
Adapter GUID.
</desc>
</param>
<param name="hostInterface" type="IHostNetworkInterface" dir="out">
<desc>
Removed host interface object.
</desc>
</param>
<param name="progress" type="IProgress" dir="return">
<desc>
Progress object to track the operation completion.
</desc>
</param>
</method>
</if>
<method name="createUSBDeviceFilter">
<desc>
Creates a new USB device filter. All attributes except
the filter name are set to <tt>null</tt> (any match),
<i>active</i> is <tt>false</tt> (the filter is not active).
The created filter can be added to the list of filters using
<link to="#insertUSBDeviceFilter"/>.
<see>#USBDeviceFilters</see>
</desc>
<param name="name" type="wstring" dir="in">
<desc>
Filter name. See <link to="IHostUSBDeviceFilter::name"/>
for more info.
</desc>
</param>
<param name="filter" type="IHostUSBDeviceFilter" dir="return">
<desc>Created filter object.</desc>
</param>
</method>
<method name="insertUSBDeviceFilter">
<desc>
Inserts the given USB device to the specified position
in the list of filters.
Positions are numbered starting from <tt>0</tt>. If the specified
position is equal to or greater than the number of elements in
the list, the filter is added at the end of the collection.
<note>
Duplicates are not allowed, so an attempt to insert a
filter that is already in the list, will return an
error.
</note>
<note>
This method may set a @ref com_warnings "warning result code".
</note>
<note>
If USB functionality is not available in the given edition of
VirtualBox, this method will set the result code to @c E_NOTIMPL.
</note>
<see>#USBDeviceFilters</see>
<result name="VBOX_E_INVALID_OBJECT_STATE">
USB device filter is not created within this VirtualBox instance.
</result>
<result name="E_INVALIDARG">
USB device filter already in list.
</result>
</desc>
<param name="position" type="unsigned long" dir="in">
<desc>Position to insert the filter to.</desc>
</param>
<param name="filter" type="IHostUSBDeviceFilter" dir="in">
<desc>USB device filter to insert.</desc>
</param>
</method>
<method name="removeUSBDeviceFilter">
<desc>
Removes a USB device filter from the specified position in the
list of filters.
Positions are numbered starting from <tt>0</tt>. Specifying a
position equal to or greater than the number of elements in
the list will produce an error.
<note>
This method may set a @ref com_warnings "warning result code".
</note>
<note>
If USB functionality is not available in the given edition of
VirtualBox, this method will set the result code to @c E_NOTIMPL.
</note>
<see>#USBDeviceFilters</see>
<result name="E_INVALIDARG">
USB device filter list empty or invalid @a position.
</result>
</desc>
<param name="position" type="unsigned long" dir="in">
<desc>Position to remove the filter from.</desc>
</param>
<param name="filter" type="IHostUSBDeviceFilter" dir="return">
<desc>Removed USB device filter.</desc>
</param>
</method>
<method name="findHostDVDDrive">
<desc>
Searches for a host DVD drive with the given @c name.
<result name="VBOX_E_OBJECT_NOT_FOUND">
Given @c name does not correspond to any host drive.
</result>
</desc>
<param name="name" type="wstring" dir="in">
<desc>Name of the host drive to search for</desc>
</param>
<param name="drive" type="IHostDVDDrive" dir="return">
<desc>Found host drive object</desc>
</param>
</method>
<method name="findHostFloppyDrive">
<desc>
Searches for a host floppy drive with the given @c name.
<result name="VBOX_E_OBJECT_NOT_FOUND">
Given @c name does not correspond to any host floppy drive.
</result>
</desc>
<param name="name" type="wstring" dir="in">
<desc>Name of the host floppy drive to search for</desc>
</param>
<param name="drive" type="IHostFloppyDrive" dir="return">
<desc>Found host floppy drive object</desc>
</param>
</method>
<method name="findHostNetworkInterfaceByName">
<desc>
Searches through all host network interfaces for an interface with
the given @c name.
<note>
The method returns an error if the given @c name does not
correspond to any host network interface.
</note>
</desc>
<param name="name" type="wstring" dir="in">
<desc>Name of the host network interface to search for.</desc>
</param>
<param name="networkInterface" type="IHostNetworkInterface" dir="return">
<desc>Found host network interface object.</desc>
</param>
</method>
<method name="findHostNetworkInterfaceById">
<desc>
Searches through all host network interfaces for an interface with
the given GUID.
<note>
The method returns an error if the given GUID does not
correspond to any host network interface.
</note>
</desc>
<param name="id" type="uuid" dir="in">
<desc>GUID of the host network interface to search for.</desc>
</param>
<param name="networkInterface" type="IHostNetworkInterface" dir="return">
<desc>Found host network interface object.</desc>
</param>
</method>
<method name="findHostNetworkInterfacesOfType">
<desc>
Searches through all host network interfaces and returns a list of interfaces of the specified type
</desc>
<param name="type" type="HostNetworkInterfaceType" dir="in">
<desc>type of the host network interfaces to search for.</desc>
</param>
<param name="networkInterfaces" type="IHostNetworkInterface" safearray="yes" dir="return">
<desc>Found host network interface objects.</desc>
</param>
</method>
<method name="findUSBDeviceById">
<desc>
Searches for a USB device with the given UUID.
<result name="VBOX_E_OBJECT_NOT_FOUND">
Given @id does not correspond to any USB device.
</result>
<see>IHostUSBDevice::id</see>
</desc>
<param name="id" type="uuid" dir="in">
<desc>UUID of the USB device to search for.</desc>
</param>
<param name="device" type="IHostUSBDevice" dir="return">
<desc>Found USB device object.</desc>
</param>
</method>
<method name="findUSBDeviceByAddress">
<desc>
Searches for a USB device with the given host address.
<result name="VBOX_E_OBJECT_NOT_FOUND">
Given @c name does not correspond to any USB device.
</result>
<see>IHostUSBDevice::address</see>
</desc>
<param name="name" type="wstring" dir="in">
<desc>
Address of the USB device (as assigned by the host) to
search for.
</desc>
</param>
<param name="device" type="IHostUSBDevice" dir="return">
<desc>Found USB device object.</desc>
</param>
</method>
</interface>
<!--
// ISystemProperties
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="ISystemProperties"
extends="$unknown"
uuid="0760e03f-06d0-481e-9f81-be43fef092ba"
wsmap="managed"
>
<desc>
The ISystemProperties interface represents global properties of the given
VirtualBox installation.
These properties define limits and default values for various attributes
and parameters. Most of the properties are read-only, but some can be
changed by a user.
</desc>
<attribute name="minGuestRAM" type="unsigned long" readonly="yes">
<desc>Minimum guest system memory in Megabytes.</desc>
</attribute>
<attribute name="maxGuestRAM" type="unsigned long" readonly="yes">
<desc>Maximum guest system memory in Megabytes.</desc>
</attribute>
<attribute name="minGuestVRAM" type="unsigned long" readonly="yes">
<desc>Minimum guest video memory in Megabytes.</desc>
</attribute>
<attribute name="maxGuestVRAM" type="unsigned long" readonly="yes">
<desc>Maximum guest video memory in Megabytes.</desc>
</attribute>
<attribute name="minGuestCPUCount" type="unsigned long" readonly="yes">
<desc>Minimum CPU count.</desc>
</attribute>
<attribute name="maxGuestCPUCount" type="unsigned long" readonly="yes">
<desc>Maximum CPU count.</desc>
</attribute>
<attribute name="maxVDISize" type="unsigned long long" readonly="yes">
<desc>Maximum size of a virtual disk image in Megabytes.</desc>
</attribute>
<attribute name="networkAdapterCount" type="unsigned long" readonly="yes">
<desc>
Number of network adapters associated with every
<link to="IMachine"/> instance.
</desc>
</attribute>
<attribute name="serialPortCount" type="unsigned long" readonly="yes">
<desc>
Number of serial ports associated with every
<link to="IMachine"/> instance.
</desc>
</attribute>
<attribute name="parallelPortCount" type="unsigned long" readonly="yes">
<desc>
Number of parallel ports associated with every
<link to="IMachine"/> instance.
</desc>
</attribute>
<attribute name="maxBootPosition" type="unsigned long" readonly="yes">
<desc>
Maximum device position in the boot order. This value corresponds
to the total number of devices a machine can boot from, to make it
possible to include all possible devices to the boot list.
<see><link to="IMachine::setBootOrder"/></see>
</desc>
</attribute>
<attribute name="defaultMachineFolder" type="wstring">
<desc>
Full path to the default directory used to create new or open
existing machines when a settings file name contains no
path.
The initial value of this property is
<tt>&lt;</tt><link to="IVirtualBox::homeFolder">
VirtualBox_home</link><tt>&gt;/Machines</tt>.
<note>
Setting this property to <tt>null</tt> will restore the
initial value.
</note>
<note>
When settings this property, the specified path can be
absolute (full path) or relative
to the <link to="IVirtualBox::homeFolder">
VirtualBox home directory</link>.
When reading this property, a full path is
always returned.
</note>
<note>
The specified path may not exist, it will be created
when necessary.
</note>
<see>
<link to="IVirtualBox::createMachine"/>,
<link to="IVirtualBox::openMachine"/>
</see>
</desc>
</attribute>
<attribute name="defaultHardDiskFolder" type="wstring">
<desc>
Full path to the default directory used to create new or open existing
virtual disks.
This path is used when the storage unit of a hard disk is a regular file
in the host's file system and only a file name that contains no path is
given.
The initial value of this property is
<tt>&lt;</tt>
<link to="IVirtualBox::homeFolder">VirtualBox_home</link>
<tt>&gt;/HardDisks</tt>.
<note>
Setting this property to <tt>null</tt> will restore the
initial value.
</note>
<note>
When settings this property, the specified path can be relative
to the
<link to="IVirtualBox::homeFolder">VirtualBox home directory</link> or
absolute. When reading this property, a full path is
always returned.
</note>
<note>
The specified path may not exist, it will be created
when necessary.
</note>
<see>
IHardDisk,
<link to="IVirtualBox::createHardDisk"/>,
<link to="IVirtualBox::openHardDisk"/>,
<link to="IMedium::location"/>
</see>
</desc>
</attribute>
<attribute name="hardDiskFormats" type="IHardDiskFormat" safearray="yes" readonly="yes">
<desc>
List of all hard disk storage formats supported by this VirtualBox
installation.
Keep in mind that the hard disk format identifier
(<link to="IHardDiskFormat::id"/>) used in other API calls like
<link to="IVirtualBox::createHardDisk"/> to refer to a particular
hard disk format is a case-insensitive string. This means that, for
example, all of the following strings:
<pre>
"VDI"
"vdi"
"VdI"</pre>
refer to the same hard disk format.
Note that the virtual hard disk framework is backend-based, therefore
the list of supported formats depends on what backends are currently
installed.
<see>
<link to="IHardDiskFormat"/>,
</see>
</desc>
</attribute>
<attribute name="defaultHardDiskFormat" type="wstring">
<desc>
Identifier of the default hard disk format used by VirtualBox.
The hard disk format set by this attribute is used by VirtualBox
when the hard disk format was not specified explicitly. One example is
<link to="IVirtualBox::createHardDisk"/> with the <tt>null</tt>
format argument. A more complex example is implicit creation of
differencing hard disks when taking a snapshot of a virtual machine:
this operation will try to use a format of the parent hard disk first
and if this format does not support differencing hard disks the default
format specified by this argument will be used.
The list of supported hard disk formats may be obtained by the
<link to="#hardDiskFormats"/> call. Note that the default hard disk
format must have a capability to create differencing hard disks;
otherwise opeartions that create hard disks implicitly may fail
unexpectedly.
The initial value of this property is <tt>VDI</tt> in the current
version of the VirtualBox product, but may change in the future.
<note>
Setting this property to <tt>null</tt> will restore the
initial value.
</note>
<see>
<link to="#hardDiskFormats"/>,
<link to="IHardDiskFormat::id"/>,
<link to="IVirtualBox::createHardDisk"/>
</see>
</desc>
</attribute>
<attribute name="remoteDisplayAuthLibrary" type="wstring">
<desc>
Library that provides authentication for VRDP clients. The library
is used if a virtual machine's authentication type is set to "external"
in the VM RemoteDisplay configuration.
The system library extension (".DLL" or ".so") must be omitted.
A full path can be specified; if not, then the library must reside on the
system's default library path.
The default value of this property is <tt>VRDPAuth</tt>. There is a library
of that name in one of the default VirtualBox library directories.
For details about VirtualBox authentication libraries and how to implement
them, please refer to the VirtualBox manual.
<note>
Setting this property to <tt>null</tt> will restore the
initial value.
</note>
</desc>
</attribute>
<attribute name="webServiceAuthLibrary" type="wstring">
<desc>
Library that provides authentication for webservice clients. The library
is used if a virtual machine's authentication type is set to "external"
in the VM RemoteDisplay configuration and will be called from
within the <link to="IWebsessionManager::logon" /> implementation.
As opposed to <link to="ISystemProperties::remoteDisplayAuthLibrary" />,
there is no per-VM setting for this, as the webservice is a global
resource (if it is running). Only for this setting (for the webservice),
setting this value to a literal "null" string disables authentication,
meaning that <link to="IWebsessionManager::logon" /> will always succeed,
no matter what user name and password are supplied.
The initial value of this property is <tt>VRDPAuth</tt>,
meaning that the webservice will use the same authentication
library that is used by default for VBoxVRDP (again, see
<link to="ISystemProperties::remoteDisplayAuthLibrary" />).
The format and calling convention of authentication libraries
is the same for the webservice as it is for VBoxVRDP.
</desc>
</attribute>
<attribute name="HWVirtExEnabled" type="boolean">
<desc>
This specifies the default value for hardware virtualization
extensions. If enabled, virtual machines will make use of
hardware virtualization extensions such as Intel VT-x and
AMD-V by default. This value can be overridden by each VM
using their <link to="IMachine::HWVirtExEnabled" /> property.
</desc>
</attribute>
<attribute name="LogHistoryCount" type="unsigned long">
<desc>
This value specifies how many old release log files are kept.
</desc>
</attribute>
</interface>
<!--
// IGuest
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IGuestOSType" extends="$unknown"
uuid="cfe9e64c-4430-435b-9e7c-e3d8e417bd58"
wsmap="struct"
>
<desc>
</desc>
<attribute name="familyId" type="wstring" readonly="yes">
<desc>Guest OS family identifier string.</desc>
</attribute>
<attribute name="familyDescription" type="wstring" readonly="yes">
<desc>Human readable description of the guest OS family.</desc>
</attribute>
<attribute name="id" type="wstring" readonly="yes">
<desc>Guest OS identifier string.</desc>
</attribute>
<attribute name="description" type="wstring" readonly="yes">
<desc>Human readable description of the guest OS.</desc>
</attribute>
<attribute name="is64Bit" type="boolean" readonly="yes">
<desc>Returns @c true if the given OS is 64-bit</desc>
</attribute>
<attribute name="recommendedIOAPIC" type="boolean" readonly="yes">
<desc>Returns @c true if IO APIC recommended for this OS type.</desc>
</attribute>
<attribute name="recommendedVirtEx" type="boolean" readonly="yes">
<desc>Returns @c true if VT-x or AMD-V recommended for this OS type.</desc>
</attribute>
<attribute name="recommendedRAM" type="unsigned long" readonly="yes">
<desc>Recommended RAM size in Megabytes.</desc>
</attribute>
<attribute name="recommendedVRAM" type="unsigned long" readonly="yes">
<desc>Recommended video RAM size in Megabytes.</desc>
</attribute>
<attribute name="recommendedHDD" type="unsigned long" readonly="yes">
<desc>Recommended hard disk size in Megabytes.</desc>
</attribute>
<attribute name="adapterType" type="NetworkAdapterType" readonly="yes">
<desc>Returns recommended network adapter for this OS type.</desc>
</attribute>
</interface>
<interface
name="IGuest" extends="$unknown"
uuid="d8556fca-81bc-12af-fca3-365528fa38ca"
wsmap="suppress"
>
<desc>
The IGuest interface represents information about the operating system
running inside the virtual machine. Used in
<link to="IConsole::guest"/>.
IGuest provides information about the guest operating system, whether
Guest Additions are installed and other OS-specific virtual machine
properties.
</desc>
<attribute name="OSTypeId" type="wstring" readonly="yes">
<desc>
Identifier of the Guest OS type as reported by the Guest
Additions.
You may use <link to="IVirtualBox::getGuestOSType"/> to obtain
an IGuestOSType object representing details about the given
Guest OS type.
<note>
If Guest Additions are not installed, this value will be
the same as <link to="IMachine::OSTypeId"/>.
</note>
</desc>
</attribute>
<attribute name="additionsActive" type="boolean" readonly="yes">
<desc>
Flag whether the Guest Additions are installed and active
in which case their version will be returned by the
<link to="#additionsVersion"/> property.
</desc>
</attribute>
<attribute name="additionsVersion" type="wstring" readonly="yes">
<desc>
Version of the Guest Additions (3 decimal numbers separated
by dots) or empty when the Additions are not installed. The
Additions may also report a version but yet not be active as
the version might be refused by VirtualBox (incompatible) or
other failures occurred.
</desc>
</attribute>
<attribute name="supportsSeamless" type="boolean" readonly="yes">
<desc>
Flag whether seamless guest display rendering (seamless desktop
integration) is supported.
</desc>
</attribute>
<attribute name="supportsGraphics" type="boolean" readonly="yes">
<desc>
Flag whether the guest is in graphics mode. If it is not, then
seamless rendering will not work, resize hints are not immediately
acted on and guest display resizes are probably not initiated by
the guest additions.
</desc>
</attribute>
<attribute name="memoryBalloonSize" type="unsigned long">
<desc>Guest system memory balloon size in megabytes.</desc>
</attribute>
<attribute name="statisticsUpdateInterval" type="unsigned long">
<desc>Interval to update guest statistics in seconds.</desc>
</attribute>
<method name="setCredentials">
<desc>
Store login credentials that can be queried by guest operating
systems with Additions installed. The credentials are transient
to the session and the guest may also choose to erase them. Note
that the caller cannot determine whether the guest operating system
has queried or made use of the credentials.
<result name="VBOX_E_VM_ERROR">
VMM device is not available.
</result>
</desc>
<param name="userName" type="wstring" dir="in">
<desc>User name string, can be empty</desc>
</param>
<param name="password" type="wstring" dir="in">
<desc>Password string, can be empty</desc>
</param>
<param name="domain" type="wstring" dir="in">
<desc>Domain name (guest logon scheme specific), can be empty</desc>
</param>
<param name="allowInteractiveLogon" type="boolean" dir="in">
<desc>
Flag whether the guest should alternatively allow the user to
interactively specify different credentials. This flag might
not be supported by all versions of the Additions.
</desc>
</param>
</method>
<method name="getStatistic">
<desc>
Query specified guest statistics as reported by the VirtualBox Additions.
</desc>
<param name="cpuId" type="unsigned long" dir="in">
<desc>Virtual CPU id; not relevant for all statistic types</desc>
</param>
<param name="statistic" type="GuestStatisticType" dir="in">
<desc>Statistic type.</desc>
</param>
<param name="statVal" type="unsigned long" dir="out">
<desc>Statistics value</desc>
</param>
</method>
</interface>
<!--
// IProgress
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IProgress" extends="$unknown"
uuid="ee1aa091-fda8-47a9-8f1c-4bba002a3229"
wsmap="managed"
>
<desc>
The IProgress interface allows for monitoring the progress of
an asynchronous tasks within VirtualBox.
An instance of this is returned every time VirtualBox starts
an asynchronous task (in other words, a separate thread) which
continues to run after a method call returns. For example,
<link to="IConsole::saveState" />, which saves the state of
a running virtual machine, can take a long time to complete.
To be able to display a progress bar, a user interface such as
the VirtualBox graphical user interface can use the IProgress
object returned by that method.
Note that IProgress is a "read-only" interface in the sense
that only the VirtualBox internals behind the Main API can
create and manipulate progress objects, whereas client code
can only use the IProgress object to monitor a task's
progress and, if <link to="#cancelable" /> is true,
cancel the task by calling <link to="#cancel" />.
A task represented by IProgress can consist of one or more
sub-operations that run sequentially, one by one (see
<link to="#operation" /> and <link to="#operationCount" />).
Every operation is identified by a number (starting from 0)
and has a separate description.
You can find the individual percentage of completion of the current
operation in <link to="#operationPercent" /> and the
percentage of completion of the task as a whole
in <link to="#percent" />.
Similarly, you can wait for the completion of a particular
operation via <link to="#waitForOperationCompletion" /> or
for the completion of the whole task via
<link to="#waitForCompletion" />.
</desc>
<attribute name="id" type="uuid" readonly="yes">
<desc>ID of the task.</desc>
</attribute>
<attribute name="description" type="wstring" readonly="yes">
<desc>Description of the task.</desc>
</attribute>
<attribute name="initiator" type="$unknown" readonly="yes">
<desc>Initiator of the task.</desc>
</attribute>
<attribute name="cancelable" type="boolean" readonly="yes">
<desc>Whether the task can be interrupted.</desc>
</attribute>
<attribute name="percent" type="unsigned long" readonly="yes">
<desc>
Current progress value of the task as a whole, in percent.
This value depends on how many operations are already complete.
Returns 100 if <link to="#completed" /> is true.
</desc>
</attribute>
<attribute name="completed" type="boolean" readonly="yes">
<desc>Whether the task has been completed.</desc>
</attribute>
<attribute name="canceled" type="boolean" readonly="yes">
<desc>Whether the task has been canceled.</desc>
</attribute>
<attribute name="resultCode" type="result" readonly="yes">
<desc>
Result code of the progress task.
Valid only if <link to="#completed"/> is true.
</desc>
</attribute>
<attribute name="errorInfo" type="IVirtualBoxErrorInfo" readonly="yes">
<desc>
Extended information about the unsuccessful result of the
progress operation. May be NULL if no extended information
is available.
Valid only if <link to="#completed"/> is true and
<link to="#resultCode"/> indicates a failure.
</desc>
</attribute>
<attribute name="operationCount" type="unsigned long" readonly="yes">
<desc>
Number of sub-operations this task is divided into.
Every task consists of at least one suboperation.
</desc>
</attribute>
<attribute name="operation" type="unsigned long" readonly="yes">
<desc>Number of the sub-operation being currently executed.</desc>
</attribute>
<attribute name="operationDescription" type="wstring" readonly="yes">
<desc>
Description of the sub-operation being currently executed.
</desc>
</attribute>
<attribute name="operationPercent" type="unsigned long" readonly="yes">
<desc>Progress value of the current sub-operation only, in percent.</desc>
</attribute>
<method name="waitForCompletion">
<desc>
Waits until the task is done (including all sub-operations)
with a given timeout in milliseconds; specify -1 for an indefinite wait.
<result name="VBOX_E_IPRT_ERROR">
Failed to wait for task completion.
</result>
</desc>
<param name="timeout" type="long" dir="in">
</param>
</method>
<method name="waitForOperationCompletion">
<desc>
Waits until the given operation is done with a given timeout in
milliseconds; specify -1 for an indefinite wait.
<result name="VBOX_E_IPRT_ERROR">
Failed to wait for operation completion.
</result>
</desc>
<param name="operation" type="unsigned long" dir="in">
<desc>
Number of the operation to wait for.
Must be less than <link to="#operationCount"/>.
</desc>
</param>
<param name="timeout" type="long" dir="in">
</param>
</method>
<method name="cancel">
<desc>
Cancels the task.
<note>
If <link to="#cancelable"/> is <tt>false</tt>, then
this method will fail.
</note>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Operation cannot be canceled.
</result>
</desc>
</method>
</interface>
<!--
// ISnapshot
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="ISnapshot" extends="$unknown"
uuid="5db6b1d9-c76b-4424-a6f4-8257f642d6ea"
wsmap="managed"
>
<desc>
The ISnapshot interface represents a snapshot of the virtual
machine.
The <i>snapshot</i> stores all the information about a virtual
machine necessary to bring it to exactly the same state as it was at
the time of taking the snapshot. The snapshot includes:
<ul>
<li>all settings of the virtual machine (i.e. its hardware
configuration: RAM size, attached hard disks, etc.)
</li>
<li>the execution state of the virtual machine (memory contents,
CPU state, etc.).
</li>
</ul>
Snapshots can be <i>offline</i> (taken when the VM is powered off)
or <i>online</i> (taken when the VM is running). The execution
state of the offline snapshot is called a <i>zero execution state</i>
(it doesn't actually contain any information about memory contents
or the CPU state, assuming that all hardware is just powered off).
<h3>Snapshot branches</h3>
Snapshots can be chained. Chained snapshots form a branch where
every next snapshot is based on the previous one. This chaining is
mostly related to hard disk branching (see <link to="IHardDisk"/>
description). This means that every time a new snapshot is created,
a new differencing hard disk is implicitly created for all normal
hard disks attached to the given virtual machine. This allows to
fully restore hard disk contents when the machine is later reverted
to a particular snapshot.
In the current implementation, multiple snapshot branches within one
virtual machine are not allowed. Every machine has a single branch,
and <link to="IConsole::takeSnapshot"/> operation adds a new
snapshot to the top of that branch.
Existing snapshots can be discarded using
<link to="IConsole::discardSnapshot"/>.
<h3>Current snapshot</h3>
Every virtual machine has a current snapshot, identified by
<link to="IMachine::currentSnapshot"/>. This snapshot is used as
a base for the <i>current machine state</i> (see below), to the effect
that all normal hard disks of the machine and its execution
state are based on this snapshot.
In the current implementation, the current snapshot is always the
last taken snapshot (i.e. the head snapshot on the branch) and it
cannot be changed.
The current snapshot is <tt>null</tt> if the machine doesn't have
snapshots at all; in this case the current machine state is just
current settings of this machine plus its current execution state.
<h3>Current machine state</h3>
The current machine state is what represented by IMachine instances got
directly from IVirtualBox
using <link
to="IVirtualBox::getMachine">getMachine()</link>, <link
to="IVirtualBox::findMachine">findMachine()</link>, etc. (as opposed
to instances returned by <link to="ISnapshot::machine"/>). This state
is always used when the machine is <link to="IConsole::powerUp"> powered
on</link>.
The current machine state also includes the current execution state.
If the machine is being currently executed
(<link to="IMachine::state"/> is <link to="MachineState_Running"/>
and above), its execution state is just what's happening now.
If it is powered off (<link to="MachineState_PoweredOff"/> or
<link to="MachineState_Aborted"/>), it has a zero execution state.
If the machine is saved (<link to="MachineState_Saved"/>), its
execution state is what saved in the execution state file
(<link to="IMachine::stateFilePath"/>).
If the machine is in the saved state, then, next time it is powered
on, its execution state will be fully restored from the saved state
file and the execution will continue from the point where the state
was saved.
Similarly to snapshots, the current machine state can be discarded
using <link to="IConsole::discardCurrentState"/>.
<h3>Taking and discarding snapshots</h3>
The table below briefly explains the meaning of every snapshot
operation:
<table>
<tr><th>Operation</th><th>Meaning</th><th>Remarks</th></tr>
<tr><td><link to="IConsole::takeSnapshot"/></td>
<td>Save the current state of the virtual machine, including all
settings, contents of normal hard disks and the current modifications
to immutable hard disks (for online snapshots)</td>
<td>The current state is not changed (the machine will continue
execution if it is being executed when the snapshot is
taken)</td></tr>
<tr><td><link to="IConsole::discardSnapshot"/></td>
<td>Forget the state of the virtual machine stored in the snapshot:
dismiss all saved settings and delete the saved execution state (for
online snapshots)</td>
<td>Other snapshots (including child snapshots, if any) and the
current state are not directly affected</td></tr>
<tr><td><link to="IConsole::discardCurrentState"/></td>
<td>Restore the current state of the virtual machine from the state
stored in the current snapshot, including all settings and hard disk
contents</td>
<td>The current state of the machine existed prior to this operation
is lost</td></tr>
<tr><td><link to="IConsole::discardCurrentSnapshotAndState"/></td>
<td>Completely revert the virtual machine to the state it was in
before the current snapshot has been taken</td>
<td>The current state, as well as the current snapshot, are
lost</td></tr>
</table>
</desc>
<attribute name="id" type="uuid" readonly="yes">
<desc>UUID of the snapshot.</desc>
</attribute>
<attribute name="name" type="wstring">
<desc>Short name of the snapshot.</desc>
</attribute>
<attribute name="description" type="wstring">
<desc>Optional description of the snapshot.</desc>
</attribute>
<attribute name="timeStamp" type="long long" readonly="yes">
<desc>
Time stamp of the snapshot, in milliseconds since 1970-01-01 UTC.
</desc>
</attribute>
<attribute name="online" type="boolean" readonly="yes">
<desc>
<tt>true</tt> if this snapshot is an online snapshot and
<tt>false</tt> otherwise.
<note>
When this attribute is <tt>true</tt>, the
<link to="IMachine::stateFilePath"/> attribute of the
<link to="#machine"/> object associated with this snapshot
will point to the saved state file. Otherwise, it will be
<tt>null</tt>.
</note>
</desc>
</attribute>
<attribute name="machine" type="IMachine" readonly="yes">
<desc>
Virtual machine this snapshot is taken on. This object
stores all settings the machine had when taking this snapshot.
<note>
The returned machine object is immutable, i.e. no
any settings can be changed.
</note>
</desc>
</attribute>
<attribute name="parent" type="ISnapshot" readonly="yes">
<desc>
Parent snapshot (a snapshot this one is based on).
<note>
It's not an error to read this attribute on a snapshot
that doesn't have a parent -- a null object will be
returned to indicate this.
</note>
</desc>
</attribute>
<attribute name="children" type="ISnapshot" readonly="yes" safearray="yes">
<desc>
Child snapshots (all snapshots having this one as a parent).
<note>
In the current implementation, there can be only one
child snapshot, or no children at all, meaning this is the
last (head) snapshot.
</note>
</desc>
</attribute>
</interface>
<!--
// IMedia
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="MediaState"
uuid="8b86e03c-2f1c-412a-8fbd-326f62701200"
>
<desc>
Virtual media state.
<see>IMedia</see>
</desc>
<const name="NotCreated" value="0">
<desc>
Associated media storage does not exist (either was not created yet or
was deleted).
</desc>
</const>
<const name="Created" value="1">
<desc>
Associated storage exists and accessible.
</desc>
</const>
<const name="LockedRead" value="2">
<desc>
Media is locked for reading, no data modification is possible.
</desc>
</const>
<const name="LockedWrite" value="3">
<desc>
Media is locked for writing, no concurrent data reading or modification
is possible.
</desc>
</const>
<const name="Inaccessible" value="4">
<desc>
Associated media storage is not accessible.
</desc>
</const>
<const name="Creating" value="5">
<desc>
Associated media storage is being created.
</desc>
</const>
<const name="Deleting" value="6">
<desc>
Associated media storage is being deleted.
</desc>
</const>
</enum>
<interface
name="IMedium" extends="$unknown"
uuid="a7fb3bfb-c180-4274-bae4-7fbc89046e13"
wsmap="managed"
>
<desc>
The IMedium interface is a common interface for all objects representing
virtual media such as hard disks, CD/DVD images and floppy images.
Each medium is associated with a storage unit (such as a file on the host
computer or a network resource) that holds actual data. The location of
the storage unit is represented by the #location attribute. The value of
this attribute is media type dependent.
The exact media type may be determined by querying the appropriate
interface such as:
<ul>
<li>IHardDisk (virtual hard disks)</li>
<li>IDVDImage (standard CD/DVD ISO image files)</li>
<li>IFloppyImage (raw floppy image files)</li>
</ul>
Existing media are opened using the following methods, depending on the
media type:
<ul>
<li><link to="IVirtualBox::openHardDisk"/></li>
<li><link to="IVirtualBox::openDVDImage"/></li>
<li><link to="IVirtualBox::openFloppyImage"/></li>
</ul>
New hard disk media are created using the
<link to="IVirtualBox::createHardDisk"/> method. CD/DVD and floppy
images are created outside VirtualBox, usually by storing a copy
of the real medium of the corresponding type in a regular file.
<h3>Known Media</h3>
When an existing medium gets opened for the first time, it gets
automatically remembered by the given VirtualBox installation or, in other
words, becomes a <i>known medium</i>. Known media are stored in the media
registry transparently maintained by VirtualBox and stored in settings
files so that this registry is preserved when VirtualBox is not running.
Newly created virtual hard disks get remembered only when the associated
storage unit is actually created (see IHardDisk for more details).
All known media can be enumerated using
<link to="IVirtualBox::hardDisks"/>,
<link to="IVirtualBox::DVDImages"/> and
<link to="IVirtualBox::floppyImages"/> attributes. Individual media can be
quickly found by UUID using <link to="IVirtualBox::getHardDisk"/>
and similar methods or by location using
<link to="IVirtualBox::findHardDisk"/> and similar methods.
Only known media can be attached to virtual machines.
Removing known media from the media registry is performed when the given
medium is closed using the <link to="#close"/> method or when its
associated storage unit is deleted (only for hard disks).
<h3>Accessibility Checks</h3>
The given medium (with the created storage unit) is considered to be
<i>accessible</i> when its storage unit can be read.
Accessible media are indicated by the <link to="MediaState_Created"/>
value of the <link to="#state"/> attribute. When the storage unit cannot
be read (for example, because it is located on a disconnected network
resource, or was accidentally deleted outside VirtualBox), the medium is
considered to be <i>inaccessible</i> which is indicated by the
<link to="MediaState_Inaccessible"/> state. The details about the reason
of being inaccessible can be obtained using the
<link to="#lastAccessError"/> attribute.
A new accessibility check is performed each time the <link to="#state"/>
attribute is read. Please note that this check may take long time (several
seconds or even minutes, depending on the storage unit location and
format), and will block the calling thread until finished. For this
reason, it is recommended to never read this attribute on the main UI
thread to avoid making the UI unresponsive.
Note that when VirtualBox starts up (e.g. the VirtualBox object gets
created for the first time), all known media are in the
<link to="MediaState_Inaccessible"/> state but the value of the <link
to="#lastAccessError"/> attribute is <tt>null</tt> because no actual
accessibility check is made on startup. This is done to make the
VirtualBox object ready for serving requests as
fast as possible and let the end-user application decide if it needs to
check media accessibility right away or not.
</desc>
<attribute name="id" type="uuid" readonly="yes">
<desc>
UUID of the medium. For a newly created medium, this value is a randomly
generated UUID.
<note>
For media in one of MediaState_NotCreated, MediaState_Creating or
MediaState_Deleting states, the value of this property is undefined
and will most likely be an empty UUID.
</note>
</desc>
</attribute>
<attribute name="description" type="wstring">
<desc>
Optional description of the medium. For newly created media, the value
of this attribute value is <tt>null</tt>.
Media types that don't support this attribute will return E_NOTIMPL in
attempt to get or set this attribute's value.
<note>
For some storage types, reading this attribute may return an outdated
(last known) value when <link to="#state"/> is <link
to="MediaState_Inaccessible"/> or <link
to="MediaState_LockedWrite"/> because the value of this attribute is
stored within the storage unit itself. Also note that changing the
attribute value is not possible in such case, as well as when the
medium is the <link to="MediaState_LockedRead"/> state.
</note>
</desc>
</attribute>
<attribute name="state" type="MediaState" readonly="yes">
<desc>
Current media state. Inspect <link to="MediaState"/> values for details.
Reading this attribute may take a long time because an accessibility
check of the storage unit is performed each time the attribute is read.
This check may cause a significant delay if the storage unit of the
given medium is, for example, a file located on a network share which is
not currently accessible due to connectivity problems -- the call will
not return until a timeout interval defined by the host OS for this
operation expires.
If the last known state of the medium is <link to="MediaState_Created"/>
and the accessibility check fails then the state would be set to
<link to="MediaState_Inaccessible"/> and <link to="#lastAccessError"/>
may be used to get more details about the failure. If the state of the
medium is <link to="MediaState_LockedRead"/> or
<link to="MediaState_LockedWrite"/> then it remains the same, and a
non-null value of <link to="#lastAccessError"/> will indicate a failed
accessibility check in this case.
Note that not all media states are applicable to all media types.
For example, states <link to="MediaState_NotCreated"/>,
<link to="MediaState_LockedWrite"/>, <link to="MediaState_Creating"/>,
<link to="MediaState_Deleting"/> are meaningless for IDVDImage and
IFloppyImage media.
</desc>
</attribute>
<attribute name="location" type="wstring">
<desc>
Location of the storage unit holding media data.
The format of the location string is media type specific. For media
types using regular files in a host's file system, the location
string is the full file name.
Some media types may support changing the storage unit location by
simply changing the value of this property. If this operation is not
supported, the implementation will return E_NOTIMPL in attempt to set
this attribute's value.
When setting a value of the location attribute which is a regular file
in the host's file system, the given file name may be either relative to
the <link to="IVirtualBox::homeFolder">VirtualBox home folder</link> or
absolute. Note that if the given location specification does not contain
the file extension part then a proper default extension will be
automatically appended by the implementation depending on the media type.
</desc>
</attribute>
<attribute name="name" type="wstring" readonly="yes">
<desc>
Name of the storage unit holding media data.
The returned string is a short version of the <link to="#location"/>
attribute that is suitable for representing the medium in situations
where the full location specification is too long (such as lists
and comboboxes in GUI frontends). This string is also used by frontends
to sort the media list alphabetically when needed.
For example, for locations that are regular files in the host's file
system, the value of this attribute is just the file name (+ extension),
without the path specification.
Note that as opposed to the <link to="#location"/> attribute, the name
attribute will not necessary be unique for a list of media of the
given type and format.
</desc>
</attribute>
<attribute name="size" type="unsigned long long" readonly="yes">
<desc>
Physical size of the storage unit used to hold media data (in bytes).
<note>
For media whose <link to="#state"/> is <link
to="MediaState_Inaccessible"/>, the value of this property is the
last known size. For <link to="MediaState_NotCreated"/> media,
the returned value is zero.
</note>
</desc>
</attribute>
<attribute name="lastAccessError" type="wstring" readonly="yes">
<desc>
Text message that represents the result of the last accessibility
check.
Accessibility checks are performed each time the <link to="#state"/>
attribute is read. A @c null string is returned if the last
accessibility check was successful. A non-null string indicates a
failure and should normally describe a reason of the failure (for
example, a file read error).
</desc>
</attribute>
<attribute name="machineIds" type="uuid" safearray="yes" readonly="yes">
<desc>
Array of UUIDs of all machines this medium is attached to.
A <tt>null</tt> array is returned if this medium is not attached to any
machine or to any machine's snapshot.
<note>
The returned array will include a machine even if this medium is not
attached to that machine in the current state but attached to it in
one of the machine's snapshots. See <link to="#getSnapshotIds"/> for
details.
</note>
</desc>
</attribute>
<method name="getSnapshotIds">
<desc>
Returns an array of UUIDs of all snapshots of the given machine where
this medium is attached to.
If the medium is attached to the machine in the current state, then the
first element in the array will always be the ID of the queried machine
(i.e. the value equal to the @c machineId argument), followed by
snapshot IDs (if any).
If the medium is not attached to the machine in the current state, then
the array will contain only snapshot IDs.
The returned array may be <tt>null</tt> if this medium is not attached
to the given machine at all, neither in the current state nor in one of
the snapshots.
</desc>
<param name="machineId" type="uuid" dir="in">
<desc>
UUID of the machine to query.
</desc>
</param>
<param name="snapshotIds" type="uuid" safearray="yes" dir="return">
<desc>
Array of snapshot UUIDs of the given machine using this medium.
</desc>
</param>
</method>
<method name="lockRead">
<desc>
Locks this medium for reading.
The read lock is shared: many clients can simultaneously lock the
same media for reading unless it is already locked for writing (see
<link to="#lockWrite"/>) in which case an error is returned.
When the medium is locked for reading, it cannot be modified
from within VirtualBox. This means that any method that changes
the properties of this medium or contents of the storage unit
will return an error (unless explicitly stated otherwise) and
that an attempt to start a virtual machine that wants to modify
the medium will also fail.
When the virtual machine is started up, it locks for reading all
media it uses in read-only mode. If some media cannot be locked
for reading, the startup procedure will fail.
The medium locked for reading must be unlocked using the <link
to="#unlockRead"/> method. Calls to <link to="#lockRead"/>
can be nested and must be followed by the same number of paired
<link to="#unlockRead"/> calls.
This method sets the media state to <link
to="MediaState_LockedRead"/> on success. The state prior to
this call must be <link to="MediaState_Created"/>, <link
to="MediaState_Inaccessible"/> or <link
to="MediaState_LockedRead"/>. As you can see, inaccessible
media can be locked too. This is not an error; this method
performs a logical lock that prevents modifications of this
media through the VirtualBox API, not a physical lock of the
underlying storage unit.
This method returns the current state of the medium
<b>before</b> the operation.
<result name="VBOX_E_INVALID_OBJECT_STATE">
Invalid media state (e.g. not created, locked, inaccessible,
creating, deleting).
</result>
</desc>
<param name="state" type="MediaState" dir="return">
<desc>
State of the medium after the operation.
</desc>
</param>
</method>
<method name="unlockRead">
<desc>
Cancels the read lock previously set by <link to="#lockRead"/>.
For both, success and failure, this method returns the current state
of the medium <b>after</b> the operation.
See <link to="#lockRead"/> for more details.
<result name="VBOX_E_INVALID_OBJECT_STATE">
Medium not locked for reading.
</result>
</desc>
<param name="state" type="MediaState" dir="return">
<desc>
State of the medium after the operation.
</desc>
</param>
</method>
<method name="lockWrite">
<desc>
Locks this medium for writing.
The write lock, as opposed to <link to="#lockRead"/>, is
exclusive: there may be only one client holding a write lock
and there may be no read locks while the write lock is held.
When the medium is locked for writing, it cannot be modified
from within VirtualBox and it is not guaranteed that the values
of its properties are up-to-date. Any method that changes the
properties of this medium or contents of the storage unit will
return an error (unless explicitly stated otherwise) and an
attempt to start a virtual machine wanting to modify or to
read the medium will fail.
When the virtual machine is started up, it locks for writing all
media it uses to write data to. If any medium could not be locked
for writing, the startup procedure will fail.
The medium locked for writing must be unlocked using the <link
to="#unlockWrite"/> method. Calls to <link to="#lockWrite"/>
can <b>not</b> be nested and must be followed by a<link
to="#unlockWrite"/> call before the next lockWrite call.
This method sets the media state to <link
to="MediaState_LockedWrite"/> on success. The state prior to
this call must be <link to="MediaState_Created"/> or <link
to="MediaState_Inaccessible"/>. As you can see, inaccessible
media can be locked too. This is not an error; this method
performs a logical lock preventing modifications of this
media through the VirtualBox API, not a physical lock of the
underlying storage unit.
For both, success and failure, this method returns the current
state of the medium <b>before</b> the operation.
<result name="VBOX_E_INVALID_OBJECT_STATE">
Invalid media state (e.g. not created, locked, inaccessible,
creating, deleting).
</result>
</desc>
<param name="state" type="MediaState" dir="return">
<desc>
State of the medium after the operation.
</desc>
</param>
</method>
<method name="unlockWrite">
<desc>
Cancels the write lock previously set by <link to="#lockWrite"/>.
For both, success and failure, this method returns the current
state of the medium <b>after</b> the operation.
See <link to="#lockWrite"/> for more details.
<result name="VBOX_E_INVALID_OBJECT_STATE">
Medium not locked for writing.
</result>
</desc>
<param name="state" type="MediaState" dir="return">
<desc>
State of the medium after the operation.
</desc>
</param>
</method>
<method name="close">
<desc>
Closes this medium.
The hard disk must not be attached to any known virtual machine
and must not have any known child hard disks, otherwise the
operation will fail.
When the hard disk is successfully closed, it gets removed from
the list of remembered hard disks, but its storage unit is not
deleted. In particular, this means that this hard disk can be
later opened again using the <link
to="IVirtualBox::openHardDisk"/> call.
Note that after this method successfully returns, the given hard
disk object becomes uninitialized. This means that any attempt
to call any of its methods or attributes will fail with the
<tt>"Object not ready" (E_ACCESSDENIED)</tt> error.
<result name="VBOX_E_INVALID_OBJECT_STATE">
Invalid media state (other than not created, created or
inaccessible).
</result>
<result name="VBOX_E_OBJECT_IN_USE">
Medium attached to virtual machine.
</result>
<result name="VBOX_E_FILE_ERROR">
Settings file not accessible.
</result>
<result name="VBOX_E_XML_ERROR">
Could not parse the settings file.
</result>
</desc>
</method>
</interface>
<!--
// IHardDisk
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="HardDiskType"
uuid="a348fafd-a64e-4643-ba65-eb3896bd7e0a"
>
<desc>
Virtual hard disk type.
<see>IHardDisk</see>
</desc>
<const name="Normal" value="0">
<desc>
Normal hard disk (attached directly or indirectly, preserved
when taking snapshots).
</desc>
</const>
<const name="Immutable" value="1">
<desc>
Immutable hard disk (attached indirectly, changes are wiped out
after powering off the virtual machine).
</desc>
</const>
<const name="Writethrough" value="2">
<desc>
Write through hard disk (attached directly, ignored when
taking snapshots).
</desc>
</const>
</enum>
<enum
name="HardDiskVariant"
uuid="99334b63-7ed0-4f61-8a7e-7ec3e20dd912"
>
<desc>
Virtual hard disk image variant. More than one flag may be set.
<see>IHardDisk</see>
</desc>
<const name="Standard" value="0">
<desc>
No particular variant requested, results in using the backend default.
</desc>
</const>
<const name="VmdkSplit2G" value="0x01">
<desc>
VMDK image split in chunks of less than 2GByte.
</desc>
</const>
<const name="VmdkStreamOptimized" value="0x04">
<desc>
VMDK streamOptimized image. Special import/export format which is
read-only/append-only.
</desc>
</const>
<const name="Fixed" value="0x1000">
<desc>
Fixed image. Only allowed for base images.
</desc>
</const>
<const name="Diff" value="0x2000">
<desc>
Fixed image. Only allowed for base images.
</desc>
</const>
</enum>
<interface
name="IHardDiskAttachment" extends="$unknown"
uuid="b1dd04bb-93c0-4ad3-a9cf-82316e595836"
wsmap="struct"
>
<desc>
The IHardDiskAttachment interface represents a hard disk attachment of a
virtual machine.
Every hard disk attachment specifies a slot of the virtual hard disk
controller and a virtual hard disk attached to this slot.
The array of hard disk attachments is returned by
<link to="IMachine::hardDiskAttachments"/>.
</desc>
<attribute name="hardDisk" type="IHardDisk" readonly="yes">
<desc>Hard disk object associated with this attachment.</desc>
</attribute>
<attribute name="controller" type="wstring" readonly="yes">
<desc>Interface bus of this attachment.</desc>
</attribute>
<attribute name="port" type="long" readonly="yes">
<desc>Port number of this attachment.</desc>
</attribute>
<attribute name="device" type="long" readonly="yes">
<desc>Device slot number of this attachment.</desc>
</attribute>
</interface>
<interface
name="IHardDisk" extends="IMedium"
uuid="3498d065-dee6-48bf-bcc5-47018fee4f42"
wsmap="managed"
>
<desc>
The IHardDisk interface represents a virtual hard disk drive
used by a virtual machine. This is a subclass of <link to="IMedium" />; see remarks there.
Virtual hard disk objects virtualize the hard disk hardware and look like
regular hard disks for the guest OS running inside the virtual machine.
<h3>Hard Disk Types</h3>
There are three types of hard disks:
<link to="HardDiskType_Normal">Normal</link>,
<link to="HardDiskType_Immutable">Immutable</link> and
<link to="HardDiskType_Writethrough">Writethrough</link>. The type of the
hard disk defines how the hard disk is attached to a virtual machine and
what happens when a <link to="ISnapshot">snapshot</link> of the virtual
machine with the attached hard disk is taken. The type of the hard disk is
defined by the <link to="#type"/> attribute.
All hard disks can be also divided in two big groups: <i>base</i> hard
disks and <i>differencing</i> hard disks. A base hard disk contains all
sectors of the hard disk data in its storage unit and therefore can be
used independently. On the contrary, a differencing hard disk contains
only some part of the hard disk data (a subset of sectors) and needs
another hard disk to get access to the missing sectors of data. This
another hard disk is called a <i>parent</i> hard disk and defines a hard
disk to which this differencing hard disk is known to be <i>linked to</i>.
The parent hard disk may be itself a differencing hard disk. This
way, differencing hard disks form a linked hard disk chain. This chain
always ends with the base hard disk which is sometimes referred to as the
root hard disk of this chain. Note that several differencing hard disks
may be linked to the same parent hard disk. This way, all known hard disks
form a hard disk tree which is based on their parent-child relationship.
Differencing hard disks can be distinguished from base hard disks by
querying the <link to="#parent"/> attribute: base hard disks do not have
parents they would depend on, so the value of this attribute is always
<tt>null</tt> for them. Using this attribute, it is possible to walk up
the hard disk tree (from the child hard disk to its parent). It is also
possible to walk down the tree using the <link to="#children"/>
attribute.
Note that the type of all differencing hard disks is
<link to="HardDiskType_Normal">Normal</link>; all other values are
meaningless for them. Base hard disks may be of any type.
<h3>Creating Hard Disks</h3>
New base hard disks are created using
<link to="IVirtualBox::createHardDisk"/>. Existing hard disks are
opened using <link to="IVirtualBox::openHardDisk"/>. Differencing hard
disks are usually implicitly created by VirtualBox when needed but may
also be created explicitly using <link to="#createDiffStorage"/>.
After the hard disk is successfully created (including the storage unit)
or opened, it becomes a known hard disk (remembered in the internal media
registry). Known hard disks can be attached to a virtual machine, accessed
through <link to="IVirtualBox::getHardDisk"/> and
<link to="IVirtualBox::findHardDisk"/> methods or enumerated using the
<link to="IVirtualBox::hardDisks"/> array (only for base hard disks).
The following methods, besides <link to="IMedium::close"/>,
automatically remove the hard disk from the media registry:
<ul>
<li><link to="#deleteStorage"/></li>
<li><link to="#mergeTo"/></li>
</ul>
If the storage unit of the hard disk is a regular file in the host's
file system then the rules stated in the description of the
<link to="IMedium::location"/> attribute apply when setting its value. In
addition, a plain file name without any path may be given, in which case
the <link to="ISystemProperties::defaultHardDiskFolder"> default hard disk
folder</link> will be prepended to it.
<h4>Automatic composition of the file name part</h4>
Another extension to the <link to="IMedium::location"/> attribute is that
there is a possibility to cause VirtualBox to compose a unique value for
the file name part of the location using the UUID of the hard disk. This
applies only to hard disks in <link to="MediaState_NotCreated"/> state,
e.g. before the storage unit is created, and works as follows. You set the
value of the <link to="IMedium::location"/> attribute to a location
specification which only contains the path specification but not the file
name part and ends with either a forward slash or a backslash character.
In response, VirtualBox will generate a new UUID for the hard disk and
compose the file name using the following pattern:
<pre>
&lt;path&gt;/{&lt;uuid&gt;}.&lt;ext&gt;
</pre>
where <tt>&lt;path&gt;</tt> is the supplied path specification,
<tt>&lt;uuid&gt;</tt> is the newly generated UUID and <tt>&lt;ext&gt;</tt>
is the default extension for the storage format of this hard disk. After
that, you may call any of the methods that create a new hard disk storage
unit and they will use the generated UUID and file name.
<h3>Attaching Hard Disks</h3>
Hard disks are attached to virtual machines using the
<link to="IMachine::attachHardDisk"/> method and detached using the
<link to="IMachine::detachHardDisk"/> method. Depending on their
<link to="#type"/>, hard disks are attached either
<i>directly</i> or <i>indirectly</i>.
When a hard disk is being attached directly, it is associated with the
virtual machine and used for hard disk operations when the machine is
running. When a hard disk is being attached indirectly, a new differencing
hard disk linked to it is implicitly created and this differencing hard
disk is associated with the machine and used for hard disk operations.
This also means that if <link to="IMachine::attachHardDisk"/> performs
a direct attachment then the same hard disk will be returned in response
to the subsequent <link to="IMachine::getHardDisk"/> call; however if
an indirect attachment is performed then
<link to="IMachine::getHardDisk"/> will return the implicitly created
differencing hard disk, not the original one passed to <link
to="IMachine::attachHardDisk"/>. The following table shows the
dependency of the attachment type on the hard disk type:
<table>
<tr>
<th>Hard Disk Type</th>
<th>Direct or Indirect?</th>
</tr>
<tr>
<td>Normal (Base)</td>
<td>
Normal base hard disks that do not have children (i.e. differencing
hard disks linked to them) and that are not already attached to
virtual machines in snapshots are attached <b>directly</b>.
Otherwise, they are attached <b>indirectly</b> because having
dependent children or being part of the snapshot makes it impossible
to modify hard disk contents without breaking the integrity of the
dependent party. The <link to="#readOnly"/> attribute allows to
quickly determine the kind of the attachment for the given hard
disk. Note that if a normal base hard disk is to be indirectly
attached to a virtual machine with snapshots then a special
procedure called <i>smart attachment</i> is performed (see below).
</td>
</tr>
<tr>
<td>Normal (Differencing)</td>
<td>
Differencing hard disks are like normal base hard disks: attached
<b>directly</b> if they do not have children and are not attached to
virtual machines in snapshots, and <b>indirectly</b> otherwise. Note
that the smart attachment procedure is never performed for
differencing hard disks.
</td>
</tr>
<tr>
<td>Immutable</td>
<td>
Immutable hard disks are always attached <b>indirectly</b> because
they are designed to be non-writable. If an immutable hard disk is
attached to a virtual machine with snapshots then a special
procedure called smart attachment is performed (see below).
</td>
</tr>
<tr>
<td>Writethrough</td>
<td>
Writethrough hard disks are always attached <b>directly</b>, also as
designed. This also means that writethrough hard disks cannot have
other hard disks linked to them at all.
</td>
</tr>
</table>
Note that the same hard disk, regardless of its type, may be attached to
more than one virtual machine at a time. In this case, the machine that is
started first gains exclusive access to the hard disk and attempts to
start other machines having this hard disk attached will fail until the
first machine is powered down.
Detaching hard disks is performed in a <i>deferred</i> fashion. This means
that the given hard disk remains associated with the given machine after a
successful <link to="IMachine::detachHardDisk"/> call until
<link to="IMachine::saveSettings"/> is called to save all changes to
machine settings to disk. This deferring is necessary to guarantee that
the hard disk configuration may be restored at any time by a call to
<link to="IMachine::discardSettings"/> before the settings
are saved (committed).
Note that if <link to="IMachine::discardSettings"/> is called after
indirectly attaching some hard disks to the machine but before a call to
<link to="IMachine::saveSettings"/> is made, it will implicitly delete
all differencing hard disks implicitly created by
<link to="IMachine::attachHardDisk"/> for these indirect attachments.
Such implicitly created hard disks will also be immediately deleted when
detached explicitly using the <link to="IMachine::detachHardDisk"/>
call if it is made before <link to="IMachine::saveSettings"/>. This
implicit deletion is safe because newly created differencing hard
disks do not contain any user data.
However, keep in mind that detaching differencing hard disks that were
implicitly created by <link to="IMachine::attachHardDisk"/>
before the last <link to="IMachine::saveSettings"/> call will
<b>not</b> implicitly delete them as they may already contain some data
(for example, as a result of virtual machine execution). If these hard
disks are no more necessary, the caller can always delete them explicitly
using <link to="#deleteStorage"/> after they are actually de-associated
from this machine by the <link to="IMachine::saveSettings"/> call.
<h3>Smart Attachment</h3>
When normal base or immutable hard disks are indirectly attached to a
virtual machine then some additional steps are performed to make sure the
virtual machine will have the most recent "view" of the hard disk being
attached. These steps include walking through the machine's snapshots
starting from the current one and going through ancestors up to the first
snapshot. Hard disks attached to the virtual machine in all
of the encountered snapshots are checked whether they are descendants of
the given normal base or immutable hard disk. The first found child (which
is the differencing hard disk) will be used instead of the normal base or
immutable hard disk as a parent for creating a new differencing hard disk
that will be actually attached to the machine. And only if no descendants
are found or if the virtual machine does not have any snapshots then the
normal base or immutable hard disk will be used itself as a parent for
this differencing hard disk.
It is easier to explain what smart attachment does using the
following example:
<pre>
BEFORE attaching B.vdi: AFTER attaching B.vdi:
Snapshot 1 (B.vdi) Snapshot 1 (B.vdi)
Snapshot 2 (D1->B.vdi) Snapshot 2 (D1->B.vdi)
Snapshot 3 (D2->D1.vdi) Snapshot 3 (D2->D1.vdi)
Snapshot 4 (none) Snapshot 4 (none)
CurState (none) CurState (D3->D2.vdi)
NOT
...
CurState (D3->B.vdi)
</pre>
The first column is the virtual machine configuration before the base hard
disk <tt>B.vdi</tt> is attached, the second column shows the machine after
this hard disk is attached. Constructs like <tt>D1->B.vdi</tt> and similar
mean that the hard disk that is actually attached to the machine is a
differencing hard disk, <tt>D1.vdi</tt>, which is linked to (based on)
another hard disk, <tt>B.vdi</tt>.
As we can see from the example, the hard disk <tt>B.vdi</tt> was detached
from the machine before taking Snapshot 4. Later, after Snapshot 4 was
taken, the user decides to attach <tt>B.vdi</tt> again. <tt>B.vdi</tt> has
dependent child hard disks (<tt>D1.vdi</tt>, <tt>D2.vdi</tt>), therefore
it cannot be attached directly and needs an indirect attachment (i.e.
implicit creation of a new differencing hard disk). Due to the smart
attachment procedure, the new differencing hard disk
(<tt>D3.vdi</tt>) will be based on <tt>D2.vdi</tt>, not on
<tt>B.vdi</tt> itself, since <tt>D2.vdi</tt> is the most recent view of
<tt>B.vdi</tt> existing for this snapshot branch of the given virtual
machine.
Note that if there is more than one descendant hard disk of the given base
hard disk found in a snapshot, and there is an exact device, channel and
bus match, then this exact match will be used. Otherwise, the youngest
descendant will be picked up.
There is one more important aspect of the smart attachment procedure which
is not related to snapshots at all. Before walking through the snapshots
as described above, the backup copy of the current list of hard disk
attachment is searched for descendants. This backup copy is created when
the hard disk configuration is changed for the first time after the last
<link to="IMachine::saveSettings"/> call and used by
<link to="IMachine::discardSettings"/> to undo the recent hard disk
changes. When such a descendant is found in this backup copy, it will be
simply re-attached back, without creating a new differencing hard disk for
it. This optimization is necessary to make it possible to re-attach the
base or immutable hard disk to a different bus, channel or device slot
without losing the contents of the differencing hard disk actually
attached to the machine in place of it.
</desc>
<attribute name="format" type="wstring" readonly="yes">
<desc>
Storage format of this hard disk.
The value of this attribute is a string that specifies a backend used to
store hard disk data. The storage format is defined when you create a
new hard disk or automatically detected when you open an existing hard
disk medium, and cannot be changed later.
The list of all storage formats supported by this VirtualBox
installation can be obtained using
<link to="ISystemProperties::hardDiskFormats"/>.
</desc>
</attribute>
<attribute name="type" type="HardDiskType">
<desc>
Type (role) of this hard disk.
The following constraints apply when changing the value of this
attribute:
<ul>
<li>If a hard disk is attached to a virtual machine (either in the
current state or in one of the snapshots), its type cannot be
changed.
</li>
<li>As long as the hard disk has children, its type cannot be set
to <link to="HardDiskType_Writethrough"/>.
</li>
<li>The type of all differencing hard disks is
<link to="HardDiskType_Normal"/> and cannot be changed.
</li>
</ul>
The type of a newly created or opened hard disk is set to
<link to="HardDiskType_Normal"/>.
</desc>
</attribute>
<attribute name="parent" type="IHardDisk" readonly="yes">
<desc>
Parent of this hard disk (a hard disk this hard disk is directly based
on).
Only differencing hard disks have parents. For base (non-differencing)
hard disks, <tt>null</tt> is returned.
</desc>
</attribute>
<attribute name="children" type="IHardDisk" safearray="yes" readonly="yes">
<desc>
Children of this hard disk (all differencing hard disks directly based
on this hard disk). A <tt>null</tt> array is returned if this hard disk
does not have any children.
</desc>
</attribute>
<attribute name="root" type="IHardDisk" readonly="yes">
<desc>
Root hard disk of this hard disk.
If this is a differencing hard disk, its root hard disk is the base hard
disk the given hard disk branch starts from. For all other types of hard
disks, this property returns the hard disk object itself (i.e. the same
object this property is read on).
</desc>
</attribute>
<attribute name="readOnly" type="boolean" readonly="yes">
<desc>
Returns <tt>true</tt> if this hard disk is read-only and <tt>false</tt>
otherwise.
A hard disk is considered to be read-only when its contents cannot be
modified without breaking the integrity of other parties that depend on
this hard disk such as its child hard disks or snapshots of virtual
machines where this hard disk is attached to these machines. If there
are no children and no such snapshots then there is no dependency and
the hard disk is not read-only.
The value of this attribute can be used to determine the kind of the
attachment that will take place when attaching this hard disk to a
virtual machine. If the value is <tt>false</tt> then the hard disk will
be attached directly. If the value is <tt>true</tt> then the hard disk
will be attached indirectly by creating a new differencing child hard
disk for that. See the interface description for more information.
Note that all <link to="HardDiskType_Immutable">Immutable</link> hard
disks are always read-only while all
<link to="HardDiskType_Writethrough">Writethrough</link> hard disks are
always not.
<note>
The read-only condition represented by this attribute is related to
the hard disk type and usage, not to the current
<link to="IMedium::state">media state</link> and not to the read-only
state of the storage unit.
</note>
</desc>
</attribute>
<attribute name="logicalSize" type="unsigned long long" readonly="yes">
<desc>
Logical size of this hard disk (in megabytes), as reported to the
guest OS running inside the virtual machine this disk is
attached to. The logical size is defined when the hard disk is created
and cannot be changed later.
<note>
Reading this property on a differencing hard disk will return the size
of its <link to="#root"/> hard disk.
</note>
<note>
For hard disks whose state is <link to="#state"/> is <link
to="MediaState_Inaccessible"/>, the value of this property is the
last known logical size. For <link to="MediaState_NotCreated"/> hard
disks, the returned value is zero.
</note>
</desc>
</attribute>
<attribute name="autoReset" type="boolean">
<desc>
Whether this differencing hard disk will be automatically reset each
time a virtual machine it is attached to is powered up.
See <link to="#reset()"/> for more information about resetting
differencing hard disks.
<note>
Reading this property on a base (non-differencing) hard disk will
always <tt>false</tt>. Changing the value of this property in this
case is not supported.
</note>
<result name="VBOX_E_NOT_SUPPORTED">
This is not a differencing hard disk (when changing the attribute
value).
</result>
</desc>
</attribute>
<!-- storage methods -->
<method name="getProperty">
<desc>
Returns the value of the custom hard disk property with the given name.
The list of all properties supported by the given hard disk format can
be obtained with <link to="IHardDiskFormat::describeProperties"/>.
Note that if this method returns a <tt>null</tt> @a value, the requested
property is supported but currently not assigned any value.
<result name="VBOX_E_OBJECT_NOT_FOUND">
Requested property does not exist (not supported by the format).
</result>
<result name="E_INVALIDARG">@a name is NULL or empty.</result>
</desc>
<param name="name" type="wstring" dir="in">
<desc>Name of the property to get.</desc>
</param>
<param name="value" type="wstring" dir="return">
<desc>Current property value.</desc>
</param>
</method>
<method name="setProperty">
<desc>
Sets the value of the custom hard disk property with the given name.
The list of all properties supported by the given hard disk format can
be obtained with <link to="IHardDiskFormat::describeProperties"/>.
Note that setting the property value to <tt>null</tt> is equivalent to
deleting the existing value. A default value (if it is defined for this
property) will be used by the format backend in this case.
<result name="VBOX_E_OBJECT_NOT_FOUND">
Requested property does not exist (not supported by the format).
</result>
<result name="E_INVALIDARG">@a name is NULL or empty.</result>
</desc>
<param name="name" type="wstring" dir="in">
<desc>Name of the property to set.</desc>
</param>
<param name="value" type="wstring" dir="in">
<desc>Property value to set.</desc>
</param>
</method>
<method name="getProperties">
<desc>
Returns values for a group of properties in one call.
The names of the properties to get are specified using the @a names
argument which is a list of comma-separated property names or
<tt>null</tt> if all properties are to be returned. Note that currently
the value of this argument is ignored and the method always returns all
existing properties.
The list of all properties supported by the given hard disk format can
be obtained with <link to="IHardDiskFormat::describeProperties"/>.
The method returns two arrays, the array of property names corresponding
to the @a names argument and the current values of these properties.
Both arrays have the same number of elements with each elemend at the
given index in the first array corresponds to an element at the same
index in the second array.
Note that for properties that do not have assigned values,
<tt>null</tt> is returned at the appropriate index in the
@a returnValues array.
</desc>
<param name="names" type="wstring" dir="in">
<desc>
Names of properties to get.
</desc>
</param>
<param name="returnNames" type="wstring" safearray="yes" dir="out">
<desc>Names of returned properties.</desc>
</param>
<param name="returnValues" type="wstring" safearray="yes" dir="return">
<desc>Values of returned properties.</desc>
</param>
</method>
<method name="setProperties">
<desc>
Sets values for a group of properties in one call.
The names of the properties to set are passed in the @a names
array along with the new values for them in the @a values array. Both
arrays have the same number of elements with each elemend at the given
index in the first array corresponding to an element at the same index
in the second array.
If there is at least one property name in @a names that is not valid,
the method will fail before changing the values of any other properties
from the @a names array.
Using this method over <link to="#setProperty"/> is preferred if you
need to set several properties at once since it will result into less
IPC calls.
The list of all properties supported by the given hard disk format can
be obtained with <link to="IHardDiskFormat::describeProperties"/>.
Note that setting the property value to <tt>null</tt> is equivalent to
deleting the existing value. A default value (if it is defined for this
property) will be used by the format backend in this case.
</desc>
<param name="names" type="wstring" safearray="yes" dir="in">
<desc>Names of properties to set.</desc>
</param>
<param name="values" type="wstring" safearray="yes" dir="in">
<desc>Values of properties to set.</desc>
</param>
</method>
<!-- storage methods -->
<method name="createBaseStorage">
<desc>
Starts creating a hard disk storage unit (fixed/dynamic, according
to the variant flags) in in the background. The previous storage unit
created for this object, if any, must first be deleted using
<link to="#deleteStorage"/>, otherwise the operation will fail.
Before the operation starts, the hard disk is placed in
<link to="MediaState_Creating"/> state. If the create operation
fails, the media will be placed back in <link to="MediaState_NotCreated"/>
state.
After the returned progress object reports that the operation has
successfully completed, the media state will be set to <link
to="MediaState_Created"/>, the hard disk will be remembered by this
VirtualBox installation and may be attached to virtual machines.
<result name="VBOX_E_NOT_SUPPORTED">
The variant of storage creation operation is not supported. See <link
to="IHardDiskFormat::capabilities"/>.
</result>
</desc>
<param name="logicalSize" type="unsigned long long" dir="in">
<desc>Maximum logical size of the hard disk in megabytes.</desc>
</param>
<param name="variant" type="HardDiskVariant" dir="in">
<desc>Exact image variant which should be created.</desc>
</param>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<method name="deleteStorage">
<desc>
Starts deleting the storage unit of this hard disk.
The hard disk must not be attached to any known virtual machine and must
not have any known child hard disks, otherwise the operation will fail.
It will also fail if there is no storage unit to delete or if deletion
is already in progress, or if the hard disk is being in use (locked for
read or for write) or inaccessible. Therefore, the only valid state for
this operation to succeed is <link to="MediaState_Created"/>.
Before the operation starts, the hard disk is placed to
<link to="MediaState_Deleting"/> state and gets removed from the list
of remembered hard disks (media registry). If the delete operation
fails, the media will be remembered again and placed back to
<link to="MediaState_Created"/> state.
After the returned progress object reports that the operation is
complete, the media state will be set to
<link to="MediaState_NotCreated"/> and you will be able to use one of
the storage creation methods to create it again.
<see>#close()</see>
<result name="VBOX_E_OBJECT_IN_USE">
Hard disk is attached to a virtual machine.
</result>
<result name="VBOX_E_NOT_SUPPORTED">
Storage deletion is not allowed because neither of storage creation
operations are supported. See
<link to="IHardDiskFormat::capabilities"/>.
</result>
<note>
If the deletion operation fails, it is not guaranteed that the storage
unit still exists. You may check the <link to="IMedium::state"/> value
to answer this question.
</note>
</desc>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<!-- diff methods -->
<method name="createDiffStorage">
<desc>
Starts creating an empty differencing storage unit based on this hard
disk in the format and at the location defined by the @a target
argument.
The target hard disk must be in <link to="MediaState_NotCreated"/>
state (i.e. must not have an existing storage unit). Upon successful
completion, this operation will set the type of the target hard disk to
<link to="HardDiskType_Normal"/> and create a storage unit necessary to
represent the differencing hard disk data in the given format (according
to the storage format of the target object).
After the returned progress object reports that the operation is
successfully complete, the target hard disk gets remembered by this
VirtualBox installation and may be attached to virtual machines.
<note>
The hard disk will be set to <link to="MediaState_LockedRead"/>
state for the duration of this operation.
</note>
<result name="VBOX_E_OBJECT_IN_USE">
Hard disk not in NotCreated state.
</result>
</desc>
<param name="target" type="IHardDisk" dir="in">
<desc>Target hard disk.</desc>
</param>
<param name="variant" type="HardDiskVariant" dir="in">
<desc>Exact image variant which should be created.</desc>
</param>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<method name="mergeTo">
<desc>
Starts merging the contents of this hard disk and all intermediate
differencing hard disks in the chain to the given target hard disk.
The target hard disk must be either a descendant of this hard disk or
its ancestor (otherwise this method will immediately return a failure).
It follows that there are two logical directions of the merge operation:
from ancestor to descendant (<i>forward merge</i>) and from descendant to
ancestor (<i>backward merge</i>). Let us consider the following hard disk
chain:
<pre>Base &lt;- Diff_1 &lt;- Diff_2</pre>
Here, calling this method on the <tt>Base</tt> hard disk object with
<tt>Diff_2</tt> as an argument will be a forward merge; calling it on
<tt>Diff_2</tt> with <tt>Base</tt> as an argument will be a backward
merge. Note that in both cases the contents of the resulting hard disk
will be the same, the only difference is the hard disk object that takes
the result of the merge operation. In case of the forward merge in the
above example, the result will be written to <tt>Diff_2</tt>; in case of
the backward merge, the result will be written to <tt>Base</tt>. In
other words, the result of the operation is always stored in the target
hard disk.
Upon successful operation completion, the storage units of all hard
disks in the chain between this (source) hard disk and the target hard
disk, including the source hard disk itself, will be automatically
deleted and the relevant hard disk objects (including this hard disk)
will become uninitialized. This means that any attempt to call any of
their methods or attributes will fail with the
<tt>"Object not ready" (E_ACCESSDENIED)</tt> error. Applied to the above
example, the forward merge of <tt>Base</tt> to <tt>Diff_2</tt> will
delete and uninitialize both <tt>Base</tt> and <tt>Diff_1</tt> hard
disks. Note that <tt>Diff_2</tt> in this case will become a base hard
disk itself since it will no longer be based on any other hard disk.
Considering the above, all of the following conditions must be met in
order for the merge operation to succeed:
<ul>
<li>
Neither this (source) hard disk nor any intermediate
differencing hard disk in the chain between it and the target
hard disk is attached to any virtual machine.
</li>
<li>
Neither the source hard disk nor the target hard disk is an
<link to="HardDiskType_Immutable"/> hard disk.
</li>
<li>
The part of the hard disk tree from the source hard disk to the
target hard disk is a linear chain, i.e. all hard disks in this
chain have exactly one child which is the next hard disk in this
chain. The only exception from this rule is the target hard disk in
the forward merge operation; it is allowed to have any number of
child hard disks because the merge operation will hot change its
logical contents (as it is seen by the guest OS or by children).
</li>
<li>
None of the involved hard disks are in
<link to="MediaState_LockedRead"/> or
<link to="MediaState_LockedWrite"/> state.
</li>
</ul>
<note>
This (source) hard disk and all intermediates will be placed to <link
to="MediaState_Deleting"/> state and the target hard disk will be
placed to <link to="MediaState_LockedWrite"/> state and for the
duration of this operation.
</note>
</desc>
<param name="targetId" type="uuid" dir="in">
<desc>UUID of the target ancestor or descendant hard disk.</desc>
</param>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<!-- clone methods -->
<method name="cloneTo">
<desc>
Starts creating a clone of this hard disk in the format and at the
location defined by the @a target argument.
The target hard disk must be in <link to="MediaState_NotCreated"/>
state (i.e. must not have an existing storage unit). Upon successful
completion, the cloned hard disk will contain exactly the same sector
data as the hard disk being cloned, except that a new UUID for the clone
will be randomly generated.
After the returned progress object reports that the operation is
successfully complete, the target hard disk gets remembered by this
VirtualBox installation and may be attached to virtual machines.
<note>
If the cloned hard disk is a differencing hard disk, it will inherit
parent dependency of the original hard disk.
</note>
<note>
This hard disk will be placed to <link to="MediaState_LockedRead"/>
state for the duration of this operation.
</note>
</desc>
<param name="target" type="IHardDisk" dir="in">
<desc>Target hard disk.</desc>
</param>
<param name="variant" type="HardDiskVariant" dir="in">
<desc>Exact image variant which should be created.</desc>
</param>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<method name="flattenTo">
<desc>
Starts creating a deep (independent) clone of this hard disk in the
format and at the location defined by the @a target argument.
This operation is similar to <link to="#cloneTo"/> except that when
applied to a differencing hard disk, it will also copy missing hard disk
data from all parent hard disks it is linked to. This will make the
created clone an independent base hard disk that contains all hard disk
data and does not need any other hard disks to operate.
After the returned progress object reports that the operation is
successfully complete, the target hard disk gets remembered by this
VirtualBox installation and may be attached to virtual machines.
<note>
For base hard disks, this operation is identical to
<link to="#cloneTo"/>.
</note>
<note>
This hard disk and all its parent hard disks will be placed to <link
to="MediaState_LockedRead"/> state for the duration of this
operation.
</note>
</desc>
<param name="target" type="IHardDisk" dir="in">
<desc>Target hard disk.</desc>
</param>
<param name="variant" type="HardDiskVariant" dir="in">
<desc>Exact image variant which should be created.</desc>
</param>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<!-- other methods -->
<method name="compact">
<desc>
Starts compacting of this hard disk. This means that the disk is
transformed into a possibly more compact storage representation.
This potentially creates temporary images, which can require a
substantial amount of additional disk space.
This hard disk will be placed to <link to="MediaState_LockedWrite"/>
state and all its parent hard disks (if any) will be placed to
<link to="MediaState_LockedRead"/> state for the duration of this
operation.
</desc>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
<method name="reset">
<desc>
Starts erasing the contents of this differencing hard disk.
This operation will reset the differencing hard disk to its initial
state when it does not contain any sector data and any read operation is
redirected to its parent hard disk.
This hard disk will be placed to <link to="MediaState_LockedWrite"/>
for the duration of this operation.
<result name="VBOX_E_NOT_SUPPORTED">
This is not a differencing hard disk.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Hard disk is not in <link to="MediaState_Created"/> or
<link to="MediaState_Inaccessible"/> state.
</result>
</desc>
<param name="progress" type="IProgress" dir="return">
<desc>Progress object to track the operation completion.</desc>
</param>
</method>
</interface>
<!--
// IHardDiskFormat
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="DataType"
uuid="d90ea51e-a3f1-4a01-beb1-c1723c0d3ba7"
>
<const name="Int32" value="0"/>
<const name="Int8" value="1"/>
<const name="String" value="2"/>
</enum>
<enum
name="DataFlags"
uuid="86884dcf-1d6b-4f1b-b4bf-f5aa44959d60"
>
<const name="None" value="0x00"/>
<const name="Mandatory" value="0x01"/>
<const name="Expert" value="0x02"/>
<const name="Array" value="0x04"/>
<const name="FlagMask" value="0x07"/>
</enum>
<enum
name="HardDiskFormatCapabilities"
uuid="1df1e4aa-d25a-4ba6-b2a2-02f60eb5903b"
>
<desc>
Hard disk format capability flags.
</desc>
<const name="Uuid" value="0x01">
<desc>
Supports UUIDs as expected by VirtualBox code.
</desc>
</const>
<const name="CreateFixed" value="0x02">
<desc>
Supports creating fixed size images, allocating all space instantly.
</desc>
</const>
<const name="CreateDynamic" value="0x04">
<desc>
Supports creating dynamically growing images, allocating space on
demand.
</desc>
</const>
<const name="CreateSplit2G" value="0x08">
<desc>
Supports creating images split in chunks of a bit less than 2 GBytes.
</desc>
</const>
<const name="Differencing" value="0x10">
<desc>
Supports being used as a format for differencing hard disks (see <link
to="IHardDisk::createDiffStorage"/>).
</desc>
</const>
<const name="Asynchronous" value="0x20">
<desc>
Supports asynchronous I/O operations for at least some configurations.
</desc>
</const>
<const name="File" value="0x40">
<desc>
The format backend operates on files (the <link to="IMedium::location"/>
attribute of the hard disk specifies a file used to store hard disk
data; for a list of supported file extensions see
<link to="IHardDiskFormat::fileExtensions"/>).
</desc>
</const>
<const name="Properties" value="0x80">
<desc>
The format backend uses the property interface to configure the storage
location and properties (the <link to="IHardDiskFormat::describeProperties"/>
method is used to get access to properties supported by the given hard
disk format).
</desc>
</const>
<const name="CapabilityMask" value="0xFF"/>
</enum>
<interface
name="IHardDiskFormat" extends="$unknown"
uuid="7f3ba790-3a0b-4a8a-bac2-bb50150123c5"
wsmap="managed"
>
<desc>
The IHardDiskFormat interface represents a virtual hard disk format.
Each hard disk format has an associated backend which is used to handle
hard disks stored in this format. This interface provides information
about the properties of the associated backend.
Each hard disk format is identified by a string represented by the
<link to="#id"/> attribute. This string is used in calls like
<link to="IVirtualBox::createHardDisk"/> to specify the desired
format.
The list of all supported hard disk formats can be obtained using
<link to="ISystemProperties::hardDiskFormats"/>.
<see>IHardDisk</see>
</desc>
<attribute name="id" type="wstring" readonly="yes">
<desc>
Identifier of this format.
The format identifier is a non-null non-empty ASCII string. Note that
this string is case-insensitive. This means that, for example, all of
the following strings:
<pre>
"VDI"
"vdi"
"VdI"</pre>
refer to the same hard disk format.
This string is used in methods of other interfaces where it is necessary
to specify a hard disk format, such as
<link to="IVirtualBox::createHardDisk"/>.
</desc>
</attribute>
<attribute name="name" type="wstring" readonly="yes">
<desc>
Human readable description of this format.
Mainly for use in file open dialogs.
</desc>
</attribute>
<attribute name="fileExtensions" type="wstring" safearray="yes" readonly="yes">
<desc>
Array of strings containing the supported file extensions.
The first extension in the array is the extension preferred by the
backend. It is recommended to use this extension when specifying a
location of the storage unit for a new hard disk.
Note that some backends do not work on files, so this array may be
empty.
<see>IHardDiskFormat::capabilities</see>
</desc>
</attribute>
<attribute name="capabilities" type="unsigned long" readonly="yes">
<desc>
Capabilities of the format as a set of bit flags.
For the meaning of individual capability flags see
<link to="HardDiskFormatCapabilities"/>.
</desc>
</attribute>
<method name="describeProperties">
<desc>
Returns several arrays describing the properties supported by this
format.
An element with the given index in each array describes one
property. Thus, the number of elements in each returned array is the
same and corresponds to the number of supported properties.
The returned arrays are filled in only if the
<link to="HardDiskFormatCapabilities_Properties"/> flag is set.
All arguments must be non-NULL.
<see>DataType</see>
<see>DataFlags</see>
</desc>
<param name="names" type="wstring" safearray="yes" dir="out">
<desc>Array of property names.</desc>
</param>
<param name="description" type="wstring" safearray="yes" dir="out">
<desc>Array of property descriptions.</desc>
</param>
<param name="types" type="DataType" safearray="yes" dir="out">
<desc>Array of property types.</desc>
</param>
<param name="flags" type="unsigned long" safearray="yes" dir="out">
<desc>Array of property flags.</desc>
</param>
<param name="defaults" type="wstring" safearray="yes" dir="out">
<desc>Array of default property values.</desc>
</param>
</method>
</interface>
<!--
// IFloppyImage
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IFloppyImage" extends="IMedium"
uuid="faa6101f-078c-4b3a-ab75-75670c8170b3"
wsmap="managed"
>
<desc>
The IFloppyImage interface represents a medium containing the image
of a floppy disk. This is a subclass of <link to="IMedium" />; see remarks there.
</desc>
</interface>
<!--
// IDVDImage
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IDVDImage" extends="IMedium"
uuid="b1f90bbb-e8a9-4484-9af1-3638e943f763"
wsmap="managed"
>
<desc>
The IDVDImage interface represents a medium containing the image
of a CD or DVD disk in the ISO format.
This is a subclass of <link to="IMedium" />; see remarks there.
</desc>
</interface>
<!--
// IDVDDrive
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IDVDDrive" extends="$unknown"
uuid="d650ef30-be9b-4dae-b463-11d5824681a5"
wsmap="managed"
>
<desc>
The IDVDDrive interface represents the virtual CD/DVD drive of the
virtual machine. An object of this type is returned by
<link to="IMachine::DVDDrive"/>.
</desc>
<attribute name="state" type="DriveState" readonly="yes">
<desc>Current drive state.</desc>
</attribute>
<attribute name="passthrough" type="boolean">
<desc>
When a host drive is mounted and passthrough is enabled
the guest OS will be able to directly send SCSI commands to
the host drive. This enables the guest OS to use CD/DVD writers
but is potentially dangerous.
</desc>
</attribute>
<method name="mountImage">
<desc>Mounts a CD/DVD image with the specified UUID.
<result name="VBOX_E_FILE_ERROR">
Invalid image file location.
</result>
<result name="VBOX_E_OBJECT_NOT_FOUND">
Could not find a CD/DVD image matching @a imageId.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Invalid media state.
</result>
</desc>
<param name="imageId" type="uuid" dir="in"/>
</method>
<method name="captureHostDrive">
<desc>Captures the specified host CD/DVD drive.</desc>
<param name="drive" type="IHostDVDDrive" dir="in"/>
</method>
<method name="unmount">
<desc>Unmounts the currently mounted image or host drive.</desc>
</method>
<method name="getImage">
<desc>Returns the currently mounted CD/DVD image.</desc>
<param name="image" type="IDVDImage" dir="return"/>
</method>
<method name="getHostDrive">
<desc>Returns the currently mounted host CD/DVD drive.</desc>
<param name="drive" type="IHostDVDDrive" dir="return"/>
</method>
</interface>
<!--
// IFloppyDrive
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IFloppyDrive" extends="$unknown"
uuid="159412cd-bab8-452e-8097-218a020825a6"
wsmap="managed"
>
<desc>
The IFloppyDrive interface represents the virtual floppy drive of the
virtual machine. An object of this type is returned by
<link to="IMachine::floppyDrive" />.
</desc>
<attribute name="enabled" type="boolean">
<desc>
Flag whether the floppy drive is enabled. If it is disabled,
the floppy drive will not be reported to the guest OS.
</desc>
</attribute>
<attribute name="state" type="DriveState" readonly="yes">
<desc>Current drive state.</desc>
</attribute>
<method name="mountImage">
<desc>Mounts a floppy image with the specified UUID.
<result name="VBOX_E_FILE_ERROR">
Invalid image file location.
</result>
<result name="VBOX_E_OBJECT_NOT_FOUND">
Could not find a floppy image matching @a imageID.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Invalid media state.
</result>
</desc>
<param name="imageId" type="uuid" dir="in"/>
</method>
<method name="captureHostDrive">
<desc>Captures the specified host floppy drive.</desc>
<param name="drive" type="IHostFloppyDrive" dir="in"/>
</method>
<method name="unmount">
<desc>Unmounts the currently mounted image or host drive.</desc>
</method>
<method name="getImage">
<desc>Returns the currently mounted floppy image.</desc>
<param name="image" type="IFloppyImage" dir="return"/>
</method>
<method name="getHostDrive">
<desc>Returns the currently mounted host floppy drive.</desc>
<param name="drive" type="IHostFloppyDrive" dir="return"/>
</method>
</interface>
<!--
// IKeyboard
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IKeyboard" extends="$unknown"
uuid="2d1a531b-4c6e-49cc-8af6-5c857b78b5d7"
wsmap="managed"
>
<desc>
The IKeyboard interface represents the virtual machine's keyboard. Used
in <link to="IConsole::keyboard"/>.
Use this interface to send keystrokes or the Ctrl-Alt-Del sequence
to the virtual machine.
</desc>
<method name="putScancode">
<desc>Sends a scancode to the keyboard.
<result name="VBOX_E_IPRT_ERROR">
Could not send scan code to virtual keyboard.
</result>
</desc>
<param name="scancode" type="long" dir="in"/>
</method>
<method name="putScancodes">
<desc>Sends an array of scancodes to the keyboard.
<result name="VBOX_E_IPRT_ERROR">
Could not send all scan codes to virtual keyboard.
</result>
</desc>
<param name="scancodes" type="long" dir="in" safearray="yes"/>
<param name="codesStored" type="unsigned long" dir="return"/>
</method>
<method name="putCAD">
<desc>Sends the Ctrl-Alt-Del sequence to the keyboard. This
function is nothing special, it is just a convenience function
calling <link to="IKeyboard::putScancodes"/> with the proper scancodes.
<result name="VBOX_E_IPRT_ERROR">
Could not send all scan codes to virtual keyboard.
</result>
</desc>
</method>
</interface>
<!--
// IMouse
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="MouseButtonState"
uuid="03131722-2EC5-4173-9794-0DACA46673EF"
>
<desc>
Mouse button state.
</desc>
<const name="LeftButton" value="0x01"/>
<const name="RightButton" value="0x02"/>
<const name="MiddleButton" value="0x04"/>
<const name="WheelUp" value="0x08"/>
<const name="WheelDown" value="0x10"/>
<const name="MouseStateMask" value="0x1F"/>
</enum>
<interface
name="IMouse" extends="$unknown"
uuid="FD443EC1-0006-4F5B-9282-D72760A66916"
wsmap="managed"
>
<desc>
The IMouse interface represents the virtual machine's mouse. Used in
<link to="IConsole::mouse"/>.
Through this interface, the virtual machine's virtual mouse can be
controlled.
</desc>
<attribute name="absoluteSupported" type="boolean" readonly="yes">
<desc>
Whether the guest OS supports absolute mouse pointer positioning
or not.
<note>
VirtualBox Guest Tools need to be installed to the guest OS
in order to enable absolute mouse positioning support.
You can use the <link to="IConsoleCallback::onMouseCapabilityChange"/>
callback to be instantly informed about changes of this attribute
during virtual machine execution.
</note>
<see><link to="#putMouseEventAbsolute"/></see>
</desc>
</attribute>
<method name="putMouseEvent">
<desc>
Initiates a mouse event using relative pointer movements
along x and y axis.
<result name="E_ACCESSDENIED">
Console not powered up.
</result>
<result name="VBOX_E_IPRT_ERROR">
Could not send mouse event to virtual mouse.
</result>
</desc>
<param name="dx" type="long" dir="in">
<desc>
Amount of pixels the mouse should move to the right.
Negative values move the mouse to the left.
</desc>
</param>
<param name="dy" type="long" dir="in">
<desc>
Amount of pixels the mouse should move downwards.
Negative values move the mouse upwards.
</desc>
</param>
<param name="dz" type="long" dir="in">
<desc>
Amount of mouse wheel moves.
Positive values describe clockwise wheel rotations,
negative values describe counterclockwise rotations.
</desc>
</param>
<param name="buttonState" type="long" dir="in">
<desc>
The current state of mouse buttons. Every bit represents
a mouse button as follows:
<table>
<tr><td>Bit 0 (<tt>0x01</tt>)</td><td>left mouse button</td></tr>
<tr><td>Bit 1 (<tt>0x02</tt>)</td><td>right mouse button</td></tr>
<tr><td>Bit 2 (<tt>0x04</tt>)</td><td>middle mouse button</td></tr>
</table>
A value of <tt>1</tt> means the corresponding button is pressed.
otherwise it is released.
</desc>
</param>
</method>
<method name="putMouseEventAbsolute">
<desc>
Positions the mouse pointer using absolute x and y coordinates.
These coordinates are expressed in pixels and
start from <tt>[1,1]</tt> which corresponds to the top left
corner of the virtual display.
<result name="E_ACCESSDENIED">
Console not powered up.
</result>
<result name="VBOX_E_IPRT_ERROR">
Could not send mouse event to virtual mouse.
</result>
<note>
This method will have effect only if absolute mouse
positioning is supported by the guest OS.
</note>
<see><link to="#absoluteSupported"/></see>
</desc>
<param name="x" type="long" dir="in">
<desc>
X coordinate of the pointer in pixels, starting from <tt>1</tt>.
</desc>
</param>
<param name="y" type="long" dir="in">
<desc>
Y coordinate of the pointer in pixels, starting from <tt>1</tt>.
</desc>
</param>
<param name="dz" type="long" dir="in">
<desc>
Amount of mouse wheel moves.
Positive values describe clockwise wheel rotations,
negative values describe counterclockwise rotations.
</desc>
</param>
<param name="buttonState" type="long" dir="in">
<desc>
The current state of mouse buttons. Every bit represents
a mouse button as follows:
<table>
<tr><td>Bit 0 (<tt>0x01</tt>)</td><td>left mouse button</td></tr>
<tr><td>Bit 1 (<tt>0x02</tt>)</td><td>right mouse button</td></tr>
<tr><td>Bit 2 (<tt>0x04</tt>)</td><td>middle mouse button</td></tr>
</table>
A value of <tt>1</tt> means the corresponding button is pressed.
otherwise it is released.
</desc>
</param>
</method>
</interface>
<!--
// IDisplay
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="FramebufferAccelerationOperation"
uuid="f0e5ebbe-dc8e-4e2d-916e-53baa3844df8"
>
<desc>
Frame buffer acceleration operation.
</desc>
<const name="SolidFillAcceleration" value="1"/>
<const name="ScreenCopyAcceleration" value="2"/>
</enum>
<enum
name="FramebufferPixelFormat"
uuid="7acfd5ed-29e3-45e3-8136-73c9224f3d2d"
>
<desc>
Format of the video memory buffer. Constants represented by this enum can
be used to test for particular values of <link
to="IFramebuffer::pixelFormat"/>. See also <link
to="IFramebuffer::requestResize"/>.
See also www.fourcc.org for more information about FOURCC pixel formats.
</desc>
<const name="Opaque" value="0">
<desc>
Unknown buffer format (the user may not assume any particular format of
the buffer).
</desc>
</const>
<const name="FOURCC_RGB" value="0x32424752">
<desc>
Basic RGB format (<link to="IFramebuffer::bitsPerPixel"/> determines the
bit layout).
</desc>
</const>
</enum>
<interface
name="IFramebuffer" extends="$unknown"
uuid="af431304-5b09-40e2-94da-3c3cb03822c1"
wsmap="suppress"
>
<attribute name="address" type="octet" mod="ptr" readonly="yes">
<desc>Address of the start byte of the frame buffer.</desc>
</attribute>
<attribute name="width" type="unsigned long" readonly="yes">
<desc>Frame buffer width, in pixels.</desc>
</attribute>
<attribute name="height" type="unsigned long" readonly="yes">
<desc>Frame buffer height, in pixels.</desc>
</attribute>
<attribute name="bitsPerPixel" type="unsigned long" readonly="yes">
<desc>
Color depth, in bits per pixel. When <link to="#pixelFormat"/> is <link
to="FramebufferPixelFormat_FOURCC_RGB">FOURCC_RGB</link>, valid values
are: 8, 15, 16, 24 and 32.
</desc>
</attribute>
<attribute name="bytesPerLine" type="unsigned long" readonly="yes">
<desc>
Scan line size, in bytes. When <link to="#pixelFormat"/> is <link
to="FramebufferPixelFormat_FOURCC_RGB">FOURCC_RGB</link>, the
size of the scan line must be aligned to 32 bits.
</desc>
</attribute>
<attribute name="pixelFormat" type="unsigned long" readonly="yes">
<desc>
Frame buffer pixel format. It's either one of the values defined by <link
to="FramebufferPixelFormat"/> or a raw FOURCC code.
<note>
This attribute must never return <link
to="FramebufferPixelFormat_Opaque"/> -- the format of the buffer
<link to="#address"/> points to must be always known.
</note>
</desc>
</attribute>
<attribute name="usesGuestVRAM" type="boolean" readonly="yes">
<desc>
Defines whether this frame buffer uses the virtual video card's memory
buffer (guest VRAM) directly or not. See <link
to="IFramebuffer::requestResize"/> for more information.
</desc>
</attribute>
<attribute name="heightReduction" type="unsigned long" readonly="yes">
<desc>
Hint from the frame buffer about how much of the standard
screen height it wants to use for itself. This information is
exposed to the guest through the VESA BIOS and VMMDev interface
so that it can use it for determining its video mode table. It
is not guaranteed that the guest respects the value.
</desc>
</attribute>
<attribute name="overlay" type="IFramebufferOverlay" readonly="yes">
<desc>
An alpha-blended overlay which is superposed over the frame buffer.
The initial purpose is to allow the display of icons providing
information about the VM state, including disk activity, in front
ends which do not have other means of doing that. The overlay is
designed to controlled exclusively by IDisplay. It has no locking
of its own, and any changes made to it are not guaranteed to be
visible until the affected portion of IFramebuffer is updated. The
overlay can be created lazily the first time it is requested. This
attribute can also return NULL to signal that the overlay is not
implemented.
</desc>
</attribute>
<attribute name="winId" type="unsigned long long" readonly="yes">
<desc>
Platform-dependent identifier of the window where context of this
frame buffer is drawn, or zero if there's no such window.
</desc>
</attribute>
<method name="lock">
<desc>
Locks the frame buffer.
Gets called by the IDisplay object where this frame buffer is
bound to.
</desc>
</method>
<method name="unlock">
<desc>
Unlocks the frame buffer.
Gets called by the IDisplay object where this frame buffer is
bound to.
</desc>
</method>
<method name="notifyUpdate">
<desc>
Informs about an update.
Gets called by the display object where this buffer is
registered.
</desc>
<param name="x" type="unsigned long" dir="in"/>
<param name="y" type="unsigned long" dir="in"/>
<param name="width" type="unsigned long" dir="in"/>
<param name="height" type="unsigned long" dir="in"/>
<param name="finished" type="boolean" dir="return"/>
</method>
<method name="requestResize">
<desc>
Requests a size and pixel format change.
There are two modes of working with the video buffer of the virtual
machine. The <i>indirect</i> mode implies that the IFramebuffer
implementation allocates a memory buffer for the requested display mode
and provides it to the virtual machine. In <i>direct</i> mode, the
IFramebuffer implementation uses the memory buffer allocated and owned
by the virtual machine. This buffer represents the video memory of the
emulated video adapter (so called <i>guest VRAM</i>). The direct mode is
usually faster because the implementation gets a raw pointer to the
guest VRAM buffer which it can directly use for visualizing the contents
of the virtual display, as opposed to the indirect mode where the
contents of guest VRAM are copied to the memory buffer provided by
the implementation every time a display update occurs.
It is important to note that the direct mode is really fast only when
the implementation uses the given guest VRAM buffer directly, for
example, by blitting it to the window representing the virtual machine's
display, which saves at least one copy operation comparing to the
indirect mode. However, using the guest VRAM buffer directly is not
always possible: the format and the color depth of this buffer may be
not supported by the target window, or it may be unknown (opaque) as in
case of text or non-linear multi-plane VGA video modes. In this case,
the indirect mode (that is always available) should be used as a
fallback: when the guest VRAM contents are copied to the
implementation-provided memory buffer, color and format conversion is
done automatically by the underlying code.
The @a pixelFormat parameter defines whether the direct mode is
available or not. If @a pixelFormat is <link
to="FramebufferPixelFormat_Opaque"/> then direct access to the guest
VRAM buffer is not available -- the @a VRAM, @a bitsPerPixel and
@a bytesPerLine parameters must be ignored and the implementation must use
the indirect mode (where it provides its own buffer in one of the
supported formats). In all other cases, @a pixelFormat together with
@a bitsPerPixel and @a bytesPerLine define the format of the video memory
buffer pointed to by the @a VRAM parameter and the implementation is
free to choose which mode to use. To indicate that this frame buffer uses
the direct mode, the implementation of the <link to="#usesGuestVRAM"/>
attribute must return <tt>true</tt> and <link to="#address"/> must
return exactly the same address that is passed in the @a VRAM parameter
of this method; otherwise it is assumed that the indirect strategy is
chosen.
The @a width and @a height parameters represent the size of the
requested display mode in both modes. In case of indirect mode, the
provided memory buffer should be big enough to store data of the given
display mode. In case of direct mode, it is guaranteed that the given
@a VRAM buffer contains enough space to represent the display mode of the
given size. Note that this frame buffer's <link to="#width"/> and <link
to="#height"/> attributes must return exactly the same values as
passed to this method after the resize is completed (see below).
The @a finished output parameter determines if the implementation has
finished resizing the frame buffer or not. If, for some reason, the
resize cannot be finished immediately during this call, @a finished
must be set to @c false, and the implementation must call
<link to="IDisplay::resizeCompleted"/> after it has returned from
this method as soon as possible. If @a finished is @c false, the
machine will not call any frame buffer methods until
<link to="IDisplay::resizeCompleted"/> is called.
Note that if the direct mode is chosen, the <link to="#bitsPerPixel"/>,
<link to="#bytesPerLine"/> and <link to="#pixelFormat"/> attributes of
this frame buffer must return exactly the same values as specified in the
parameters of this method, after the resize is completed. If the
indirect mode is chosen, these attributes must return values describing
the format of the implementation's own memory buffer <link
to="#address"/> points to. Note also that the <link to="#bitsPerPixel"/>
value must always correlate with <link to="#pixelFormat"/>. Note that
the <link to="#pixelFormat"/> attribute must never return <link
to="FramebufferPixelFormat_Opaque"/> regardless of the selected mode.
<note>
This method is called by the IDisplay object under the
<link to="#lock"/> provided by this IFramebuffer
implementation. If this method returns @c false in @a finished, then
this lock is not released until
<link to="IDisplay::resizeCompleted"/> is called.
</note>
</desc>
<param name="screenId" type="unsigned long" dir="in">
<desc>
Logical screen number. Must be used in the corresponding call to
<link to="IDisplay::resizeCompleted"/> if this call is made.
</desc>
</param>
<param name="pixelFormat" type="unsigned long" dir="in">
<desc>
Pixel format of the memory buffer pointed to by @a VRAM.
See also <link to="FramebufferPixelFormat"/>.
</desc>
</param>
<param name="VRAM" type="octet" mod="ptr" dir="in">
<desc>Pointer to the virtual video card's VRAM (may be @c null).</desc>
</param>
<param name="bitsPerPixel" type="unsigned long" dir="in">
<desc>Color depth, bits per pixel.</desc>
</param>
<param name="bytesPerLine" type="unsigned long" dir="in">
<desc>Size of one scan line, in bytes.</desc>
</param>
<param name="width" type="unsigned long" dir="in">
<desc>Width of the guest display, in pixels.</desc>
</param>
<param name="height" type="unsigned long" dir="in">
<desc>Height of the guest display, in pixels.</desc>
</param>
<param name="finished" type="boolean" dir="return">
<desc>
Can the VM start using the new frame buffer immediately
after this method returns or it should wait for
<link to="IDisplay::resizeCompleted"/>.
</desc>
</param>
</method>
<method name="operationSupported">
<desc>
Returns whether the given acceleration operation is supported
by the IFramebuffer implementation. If not, the display object
will not attempt to call the corresponding IFramebuffer entry
point. Even if an operation is indicated as supported, the
IFramebuffer implementation always has the option to return non
supported from the corresponding acceleration method in which
case the operation will be performed by the display engine. This
allows for reduced IFramebuffer implementation complexity where
only common cases are handled.
</desc>
<param name="operation" type="FramebufferAccelerationOperation" dir="in"/>
<param name="supported" type="boolean" dir="return"/>
</method>
<method name="videoModeSupported">
<desc>
Returns whether the frame buffer implementation is willing to
support a given video mode. In case it is not able to render
the video mode (or for some reason not willing), it should
return false. Usually this method is called when the guest
asks the VMM device whether a given video mode is supported
so the information returned is directly exposed to the guest.
It is important that this method returns very quickly.
</desc>
<param name="width" type="unsigned long" dir="in"/>
<param name="height" type="unsigned long" dir="in"/>
<param name="bpp" type="unsigned long" dir="in"/>
<param name="supported" type="boolean" dir="return"/>
</method>
<method name="solidFill">
<desc>
Fills the specified rectangle on screen with a solid color.
</desc>
<param name="x" type="unsigned long" dir="in"/>
<param name="y" type="unsigned long" dir="in"/>
<param name="width" type="unsigned long" dir="in"/>
<param name="height" type="unsigned long" dir="in"/>
<param name="color" type="unsigned long" dir="in"/>
<param name="handled" type="boolean" dir="return"/>
</method>
<method name="copyScreenBits">
<desc>
Copies specified rectangle on the screen.
</desc>
<param name="xDst" type="unsigned long" dir="in"/>
<param name="yDst" type="unsigned long" dir="in"/>
<param name="xSrc" type="unsigned long" dir="in"/>
<param name="ySrc" type="unsigned long" dir="in"/>
<param name="width" type="unsigned long" dir="in"/>
<param name="height" type="unsigned long" dir="in"/>
<param name="handled" type="boolean" dir="return"/>
</method>
<method name="getVisibleRegion">
<desc>
Returns the visible region of this frame buffer.
If the @a rectangles parameter is <tt>NULL</tt> then the value of the
@a count parameter is ignored and the number of elements necessary to
describe the current visible region is returned in @a countCopied.
If @a rectangles is not <tt>NULL</tt> but @a count is less
than the required number of elements to store region data, the method
will report a failure. If @a count is equal or greater than the
required number of elements, then the actual number of elements copied
to the provided array will be returned in @a countCopied.
<note>
The address of the provided array must be in the process space of
this IFramebuffer object.
</note>
<note>
Method not yet implemented.
</note>
</desc>
<param name="rectangles" type="octet" mod="ptr" dir="in">
<desc>Pointer to the <tt>RTRECT</tt> array to receive region data.</desc>
</param>
<param name="count" type="unsigned long" dir="in">
<desc>Number of <tt>RTRECT</tt> elements in the @a rectangles array.</desc>
</param>
<param name="countCopied" type="unsigned long" dir="return">
<desc>Number of elements copied to the @a rectangles array.</desc>
</param>
</method>
<method name="setVisibleRegion">
<desc>
Suggests a new visible region to this frame buffer. This region
represents the area of the VM display which is a union of regions of
all top-level windows of the guest operating system running inside the
VM (if the Guest Additions for this system support this
functionality). This information may be used by the frontends to
implement the seamless desktop integration feature.
<note>
The address of the provided array must be in the process space of
this IFramebuffer object.
</note>
<note>
The IFramebuffer implementation must make a copy of the provided
array of rectangles.
</note>
<note>
Method not yet implemented.
</note>
</desc>
<param name="rectangles" type="octet" mod="ptr" dir="in">
<desc>Pointer to the <tt>RTRECT</tt> array.</desc>
</param>
<param name="count" type="unsigned long" dir="in">
<desc>Number of <tt>RTRECT</tt> elements in the @a rectangles array.</desc>
</param>
</method>
</interface>
<interface
name="IFramebufferOverlay" extends="IFramebuffer"
uuid="0bcc1c7e-e415-47d2-bfdb-e4c705fb0f47"
wsmap="suppress"
>
<desc>
The IFramebufferOverlay interface represents an alpha blended overlay
for displaying status icons above an IFramebuffer. It is always created
not visible, so that it must be explicitly shown. It only covers a
portion of the IFramebuffer, determined by its width, height and
co-ordinates. It is always in packed pixel little-endian 32bit ARGB (in
that order) format, and may be written to directly. Do re-read the
width though, after setting it, as it may be adjusted (increased) to
make it more suitable for the front end.
</desc>
<attribute name="x" type="unsigned long" readonly="yes">
<desc>X position of the overlay, relative to the frame buffer.</desc>
</attribute>
<attribute name="y" type="unsigned long" readonly="yes">
<desc>Y position of the overlay, relative to the frame buffer.</desc>
</attribute>
<attribute name="visible" type="boolean" readonly="no">
<desc>
Whether the overlay is currently visible.
</desc>
</attribute>
<attribute name="alpha" type="unsigned long" readonly="no">
<desc>
The global alpha value for the overlay. This may or may not be
supported by a given front end.
</desc>
</attribute>
<method name="move">
<desc>
Changes the overlay's position relative to the IFramebuffer.
</desc>
<param name="x" type="unsigned long" dir="in"/>
<param name="y" type="unsigned long" dir="in"/>
</method>
</interface>
<interface
name="IDisplay" extends="$unknown"
uuid="09789f63-4525-48e5-a5e4-1080453b0eab"
wsmap="suppress"
>
<desc>
The IDisplay interface represents the virtual machine's display.
The object implementing this interface is contained in each
<link to="IConsole::display"/> attribute and represents the visual
output of the virtual machine.
The virtual display supports pluggable output targets represented by the
IFramebuffer interface. Examples of the output target are a window on
the host computer or an RDP session's display on a remote computer.
</desc>
<attribute name="width" type="unsigned long" readonly="yes">
<desc>Current display width.</desc>
</attribute>
<attribute name="height" type="unsigned long" readonly="yes">
<desc>Current display height.</desc>
</attribute>
<attribute name="bitsPerPixel" type="unsigned long" readonly="yes">
<desc>
Current guest display color depth. Note that this may differ
from <link to="IFramebuffer::bitsPerPixel"/>.
</desc>
</attribute>
<method name="setupInternalFramebuffer">
<desc>
Prepares an internally managed frame buffer.
</desc>
<param name="depth" type="unsigned long" dir="in"/>
</method>
<method name="lockFramebuffer">
<desc>
Requests access to the internal frame buffer.
<result name="VBOX_E_NOT_SUPPORTED">
Attempt to lock a non-internal frame buffer.
</result>
</desc>
<param name="address" type="octet" mod="ptr" dir="return"/>
</method>
<method name="unlockFramebuffer">
<desc>
Releases access to the internal frame buffer.
<result name="VBOX_E_NOT_SUPPORTED">
Attempt to unlock a non-internal frame buffer.
</result>
</desc>
</method>
<method name="registerExternalFramebuffer">
<desc>
Registers an external frame buffer.
</desc>
<param name="framebuffer" type="IFramebuffer" dir="in"/>
</method>
<method name="setFramebuffer">
<desc>
Sets the framebuffer for given screen.
</desc>
<param name="screenId" type="unsigned long" dir="in"/>
<param name="framebuffer" type="IFramebuffer" dir="in"/>
</method>
<method name="getFramebuffer">
<desc>
Queries the framebuffer for given screen.
</desc>
<param name="screenId" type="unsigned long" dir="in"/>
<param name="framebuffer" type="IFramebuffer" dir="out"/>
<param name="xOrigin" type="long" dir="out"/>
<param name="yOrigin" type="long" dir="out"/>
</method>
<method name="setVideoModeHint">
<desc>
Asks VirtualBox to request the given video mode from
the guest. This is just a hint and it cannot be guaranteed
that the requested resolution will be used. Guest Additions
are required for the request to be seen by guests. The caller
should issue the request and wait for a resolution change and
after a timeout retry.
Specifying <tt>0</tt> for either @a width, @a height or @a bitsPerPixel
parameters means that the corresponding values should be taken from the
current video mode (i.e. left unchanged).
If the guest OS supports multi-monitor configuration then the @a display
parameter specifies the number of the guest display to send the hint to:
<tt>0</tt> is the primary display, <tt>1</tt> is the first secondary and
so on. If the multi-monitor configuration is not supported, @a display
must be <tt>0</tt>.
<result name="E_INVALIDARG">
The @a display is not associated with any monitor.
</result>
</desc>
<param name="width" type="unsigned long" dir="in"/>
<param name="height" type="unsigned long" dir="in"/>
<param name="bitsPerPixel" type="unsigned long" dir="in"/>
<param name="display" type="unsigned long" dir="in"/>
</method>
<method name="setSeamlessMode">
<desc>
Enables or disables seamless guest display rendering (seamless desktop
integration) mode.
<note>
Calling this method has no effect if <link
to="IGuest::supportsSeamless"/> returns <tt>false</tt>.
</note>
</desc>
<param name="enabled" type="boolean" dir="in"/>
</method>
<method name="takeScreenShot">
<desc>
Takes a screen shot of the requested size and copies it to the
32-bpp buffer allocated by the caller.
<result name="E_NOTIMPL">
Feature not implemented.
</result>
<result name="VBOX_E_IPRT_ERROR">
Could not take a screenshot.
</result>
</desc>
<param name="address" type="octet" mod="ptr" dir="in"/>
<param name="width" type="unsigned long" dir="in"/>
<param name="height" type="unsigned long" dir="in"/>
</method>
<method name="drawToScreen">
<desc>
Draws a 32-bpp image of the specified size from the given buffer
to the given point on the VM display.
<result name="E_NOTIMPL">
Feature not implemented.
</result>
<result name="VBOX_E_IPRT_ERROR">
Could not draw to screen.
</result>
</desc>
<param name="address" type="octet" mod="ptr" dir="in"/>
<param name="x" type="unsigned long" dir="in"/>
<param name="y" type="unsigned long" dir="in"/>
<param name="width" type="unsigned long" dir="in"/>
<param name="height" type="unsigned long" dir="in"/>
</method>
<method name="invalidateAndUpdate">
<desc>
Does a full invalidation of the VM display and instructs the VM
to update it.
<result name="VBOX_E_IPRT_ERROR">
Could not invalidate and update screen.
</result>
</desc>
</method>
<method name="resizeCompleted">
<desc>
Signals that a framebuffer has completed the resize operation.
<result name="VBOX_E_NOT_SUPPORTED">
Operation only valid for external frame buffers.
</result>
</desc>
<param name="screenId" type="unsigned long" dir="in"/>
</method>
<method name="updateCompleted">
<desc>
Signals that a framebuffer has completed the update operation.
<result name="VBOX_E_NOT_SUPPORTED">
Operation only valid for external frame buffers.
</result>
</desc>
</method>
</interface>
<!--
// INetworkAdapter
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="NetworkAttachmentType"
uuid="44bce1ee-99f7-4e8e-89fc-80597fd9eeaf"
>
<desc>
Network attachment type.
</desc>
<const name="Null" value="0">
<desc>Null value, also means "not attached".</desc>
</const>
<const name="NAT" value="1"/>
<const name="Bridged" value="2"/>
<const name="Internal" value="3"/>
<const name="HostOnly" value="4"/>
</enum>
<enum
name="NetworkAdapterType"
uuid="156b17b9-5d61-4d54-be90-62e37dda848d"
>
<desc>
Network adapter type.
</desc>
<const name="Null" value="0">
<desc>Null value (never used by the API).</desc>
</const>
<const name="Am79C970A" value="1"/>
<const name="Am79C973" value="2"/>
<const name="I82540EM" value="3"/>
<const name="I82543GC" value="4"/>
</enum>
<interface
name="INetworkAdapter" extends="$unknown"
uuid="65607a27-2b73-4d43-b4cc-0ba2c817fbde"
wsmap="managed"
>
<desc>
Represents a virtual network adapter that is attached to a virtual machine.
Each virtual machine has a fixed number of network adapter slots with one
instance of this attached to each of them. Call
<link to="IMachine::getNetworkAdapter" /> to get the network adapter that
is attached to a given slot in a given machine.
Each network adapter can be in one of five attachment modes, which are
represented by the <link to="NetworkAttachmentType" /> enumeration;
see the <link to="#attachmentType" /> attribute.
</desc>
<attribute name="adapterType" type="NetworkAdapterType">
<desc>
Type of the virtual network adapter. Depending on this value,
VirtualBox will provide a different virtual network hardware
to the guest.
</desc>
</attribute>
<attribute name="slot" type="unsigned long" readonly="yes">
<desc>
Slot number this adapter is plugged into. Corresponds to
the value you pass to <link to="IMachine::getNetworkAdapter"/>
to obtain this instance.
</desc>
</attribute>
<attribute name="enabled" type="boolean">
<desc>
Flag whether the network adapter is present in the
guest system. If disabled, the virtual guest hardware will
not contain this network adapter. Can only be changed when
the VM is not running.
</desc>
</attribute>
<attribute name="MACAddress" type="wstring">
<desc>
Ethernet MAC address of the adapter, 12 hexadecimal characters. When setting
it to NULL, VirtualBox will generate a unique MAC address.
</desc>
</attribute>
<attribute name="attachmentType" type="NetworkAttachmentType" readonly="yes"/>
<attribute name="hostInterface" type="wstring">
<desc>
Name of the host network interface the VM is attached to.
</desc>
</attribute>
<attribute name="internalNetwork" type="wstring">
<desc>
Name of the internal network the VM is attached to.
</desc>
</attribute>
<attribute name="NATNetwork" type="wstring">
<desc>
Name of the NAT network the VM is attached to.
</desc>
</attribute>
<attribute name="cableConnected" type="boolean">
<desc>
Flag whether the adapter reports the cable as connected or not.
It can be used to report offline situations to a VM.
</desc>
</attribute>
<attribute name="lineSpeed" type="unsigned long">
<desc>
Line speed reported by custom drivers, in units of 1 kbps.
</desc>
</attribute>
<attribute name="traceEnabled" type="boolean">
<desc>
Flag whether network traffic from/to the network card should be traced.
Can only be toggled when the VM is turned off.
</desc>
</attribute>
<attribute name="traceFile" type="wstring">
<desc>
Filename where a network trace will be stored. If not set, VBox-pid.pcap
will be used.
</desc>
</attribute>
<method name="attachToNAT">
<desc>
Attach the network adapter to the Network Address Translation (NAT) interface.
</desc>
</method>
<method name="attachToBridgedInterface">
<desc>
Attach the network adapter to a bridged host interface.
</desc>
</method>
<method name="attachToInternalNetwork">
<desc>
Attach the network adapter to an internal network.
</desc>
</method>
<method name="attachToHostOnlyInterface">
<desc>
Attach the network adapter to the host-only network.
</desc>
</method>
<method name="detach">
<desc>
Detach the network adapter
</desc>
</method>
</interface>
<!--
// ISerialPort
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="PortMode"
uuid="b266f43c-2e93-46b3-812b-c20e600e867b"
>
<desc>
The PortMode enumeration represents possible communication modes for
the virtual serial port device.
</desc>
<const name="Disconnected" value="0">
<desc>Virtual device is not attached to any real host device.</desc>
</const>
<const name="HostPipe" value="1">
<desc>Virtual device is attached to a host pipe.</desc>
</const>
<const name="HostDevice" value="2">
<desc>Virtual device is attached to a host device.</desc>
</const>
</enum>
<interface
name="ISerialPort" extends="$unknown"
uuid="937f6970-5103-4745-b78e-d28dcf1479a8"
wsmap="managed"
>
<desc>
The ISerialPort interface represents the virtual serial port device.
The virtual serial port device acts like an ordinary serial port
inside the virtual machine. This device communicates to the real
serial port hardware in one of two modes: host pipe or host device.
In host pipe mode, the #path attribute specifies the path to the pipe on
the host computer that represents a serial port. The #server attribute
determines if this pipe is created by the virtual machine process at
machine startup or it must already exist before starting machine
execution.
In host device mode, the #path attribute specifies the name of the
serial port device on the host computer.
There is also a third communication mode: the disconnected mode. In this
mode, the guest OS running inside the virtual machine will be able to
detect the serial port, but all port write operations will be discarded
and all port read operations will return no data.
<see>IMachine::getSerialPort</see>
</desc>
<attribute name="slot" type="unsigned long" readonly="yes">
<desc>
Slot number this serial port is plugged into. Corresponds to
the value you pass to <link to="IMachine::getSerialPort"/>
to obtain this instance.
</desc>
</attribute>
<attribute name="enabled" type="boolean">
<desc>
Flag whether the serial port is enabled. If disabled,
the serial port will not be reported to the guest OS.
</desc>
</attribute>
<attribute name="IOBase" type="unsigned long">
<desc>Base I/O address of the serial port.</desc>
</attribute>
<attribute name="IRQ" type="unsigned long">
<desc>IRQ number of the serial port.</desc>
</attribute>
<attribute name="hostMode" type="PortMode">
<desc>
How is this port connected to the host.
<note>
Changing this attribute may fail if the conditions for
<link to="#path"/> are not met.
</note>
</desc>
</attribute>
<attribute name="server" type="boolean">
<desc>
Flag whether this serial port acts as a server (creates a new pipe on
the host) or as a client (uses the existing pipe). This attribute is
used only when <link to="#hostMode"/> is PortMode_HostPipe.
</desc>
</attribute>
<attribute name="path" type="wstring">
<desc>
Path to the serial port's pipe on the host when <link to="#hostMode"/> is
PortMode_HostPipe, or the host serial device name when
<link to="#hostMode"/> is PortMode_HostDevice. In either of the above
cases, setting a @c null or an empty string as the attribute's value
will result into an error. Otherwise, the value of this property is
ignored.
</desc>
</attribute>
</interface>
<!--
// IParallelPort
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IParallelPort" extends="$unknown"
uuid="0c925f06-dd10-4b77-8de8-294d738c3214"
wsmap="managed"
>
<desc>
The IParallelPort interface represents the virtual parallel port device.
The virtual parallel port device acts like an ordinary parallel port
inside the virtual machine. This device communicates to the real
parallel port hardware using the name of the parallel device on the host
computer specified in the #path attribute.
Each virtual parallel port device is assigned a base I/O address and an
IRQ number that will be reported to the guest operating system and used
to operate the given parallel port from within the virtual machine.
<see>IMachine::getParallelPort</see>
</desc>
<attribute name="slot" type="unsigned long" readonly="yes">
<desc>
Slot number this parallel port is plugged into. Corresponds to
the value you pass to <link to="IMachine::getParallelPort"/>
to obtain this instance.
</desc>
</attribute>
<attribute name="enabled" type="boolean">
<desc>
Flag whether the parallel port is enabled. If disabled,
the parallel port will not be reported to the guest OS.
</desc>
</attribute>
<attribute name="IOBase" type="unsigned long">
<desc>Base I/O address of the parallel port.</desc>
</attribute>
<attribute name="IRQ" type="unsigned long">
<desc>IRQ number of the parallel port.</desc>
</attribute>
<attribute name="path" type="wstring">
<desc>
Host parallel device name. If this parallel port is enabled, setting a
@c null or an empty string as this attribute's value will result into
an error.
</desc>
</attribute>
</interface>
<!--
// IMachineDebugger
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IMachineDebugger" extends="$unknown"
uuid="b0b2a2dd-0627-4502-91c2-ddc5e77609e0"
wsmap="suppress"
>
<method name="resetStats">
<desc>
Reset VM statistics.
</desc>
<param name="pattern" type="wstring" dir="in">
<desc>The selection pattern. A bit similar to filename globbing.</desc>
</param>
</method>
<method name="dumpStats">
<desc>
Dumps VM statistics.
</desc>
<param name="pattern" type="wstring" dir="in">
<desc>The selection pattern. A bit similar to filename globbing.</desc>
</param>
</method>
<method name="getStats">
<desc>
Get the VM statistics in a XMLish format.
</desc>
<param name="pattern" type="wstring" dir="in">
<desc>The selection pattern. A bit similar to filename globbing.</desc>
</param>
<param name="withDescriptions" type="boolean" dir="in">
<desc>Whether to include the descriptions.</desc>
</param>
<param name="stats" type="wstring" dir="out">
<desc>The XML document containing the statistics.</desc>
</param>
</method>
<method name="injectNMI">
<desc>
Inject an NMI into a running VT-x/AMD-V VM.
</desc>
</method>
<attribute name="singlestep" type="boolean">
<desc>Switch for enabling singlestepping.</desc>
</attribute>
<attribute name="recompileUser" type="boolean">
<desc>Switch for forcing code recompilation for user mode code.</desc>
</attribute>
<attribute name="recompileSupervisor" type="boolean">
<desc>Switch for forcing code recompilation for supervisor mode code.</desc>
</attribute>
<attribute name="PATMEnabled" type="boolean">
<desc>Switch for enabling and disabling the PATM component.</desc>
</attribute>
<attribute name="CSAMEnabled" type="boolean">
<desc>Switch for enabling and disabling the CSAM component.</desc>
</attribute>
<attribute name="logEnabled" type="boolean">
<desc>Switch for enabling and disabling logging.</desc>
</attribute>
<attribute name="HWVirtExEnabled" type="boolean" readonly="yes">
<desc>
Flag indicating whether the VM is currently making use of CPU hardware
virtualization extensions.
</desc>
</attribute>
<attribute name="HWVirtExNestedPagingEnabled" type="boolean" readonly="yes">
<desc>
Flag indicating whether the VM is currently making use of the nested paging
CPU hardware virtualization extension.
</desc>
</attribute>
<attribute name="HWVirtExVPIDEnabled" type="boolean" readonly="yes">
<desc>
Flag indicating whether the VM is currently making use of the VPID
VT-x extension.
</desc>
</attribute>
<attribute name="PAEEnabled" type="boolean" readonly="yes">
<desc>
Flag indicating whether the VM is currently making use of the Physical
Address Extension CPU feature.
</desc>
</attribute>
<attribute name="virtualTimeRate" type="unsigned long">
<desc>
The rate at which the virtual time runs expressed as a percentage.
The accepted range is 2% to 20000%.
</desc>
</attribute>
<!-- @todo method for setting log flags, groups and destination! -->
<attribute name="VM" type="unsigned long long" readonly="yes">
<desc>
Gets the VM handle. This is only for internal use while
we carve the details of this interface.
</desc>
</attribute>
</interface>
<!--
// IUSBController
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IUSBController" extends="$unknown"
uuid="238540fa-4b73-435a-a38e-4e1d9eab5c17"
wsmap="managed"
>
<attribute name="enabled" type="boolean">
<desc>
Flag whether the USB controller is present in the
guest system. If disabled, the virtual guest hardware will
not contain any USB controller. Can only be changed when
the VM is powered off.
</desc>
</attribute>
<attribute name="enabledEhci" type="boolean">
<desc>
Flag whether the USB EHCI controller is present in the
guest system. If disabled, the virtual guest hardware will
not contain a USB EHCI controller. Can only be changed when
the VM is powered off.
</desc>
</attribute>
<attribute name="USBStandard" type="unsigned short" readonly="yes">
<desc>
USB standard version which the controller implements.
This is a BCD which means that the major version is in the
high byte and minor version is in the low byte.
</desc>
</attribute>
<attribute name="deviceFilters" type="IUSBDeviceFilter" readonly="yes" safearray="yes">
<desc>
List of USB device filters associated with the machine.
If the machine is currently running, these filters are activated
every time a new (supported) USB device is attached to the host
computer that was not ignored by global filters
(<link to="IHost::USBDeviceFilters"/>).
These filters are also activated when the machine is powered up.
They are run against a list of all currently available USB
devices (in states
<link to="USBDeviceState_Available"/>,
<link to="USBDeviceState_Busy"/>,
<link to="USBDeviceState_Held"/>) that were not previously
ignored by global filters.
If at least one filter matches the USB device in question, this
device is automatically captured (attached to) the virtual USB
controller of this machine.
<see>IUSBDeviceFilter, ::IUSBController</see>
</desc>
</attribute>
<method name="createDeviceFilter">
<desc>
Creates a new USB device filter. All attributes except
the filter name are set to <tt>null</tt> (any match),
<i>active</i> is <tt>false</tt> (the filter is not active).
The created filter can then be added to the list of filters using
<link to="#insertDeviceFilter"/>.
<result name="VBOX_E_INVALID_VM_STATE">
The virtual machine is not mutable.
</result>
<see>#deviceFilters</see>
</desc>
<param name="name" type="wstring" dir="in">
<desc>
Filter name. See <link to="IUSBDeviceFilter::name"/>
for more info.
</desc>
</param>
<param name="filter" type="IUSBDeviceFilter" dir="return">
<desc>Created filter object.</desc>
</param>
</method>
<method name="insertDeviceFilter">
<desc>
Inserts the given USB device to the specified position
in the list of filters.
Positions are numbered starting from <tt>0</tt>. If the specified
position is equal to or greater than the number of elements in
the list, the filter is added to the end of the collection.
<note>
Duplicates are not allowed, so an attempt to insert a
filter that is already in the collection, will return an
error.
</note>
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine is not mutable.
</result>
<result name="E_INVALIDARG">
USB device filter not created within this VirtualBox instance.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
USB device filter already in list.
</result>
<see>#deviceFilters</see>
</desc>
<param name="position" type="unsigned long" dir="in">
<desc>Position to insert the filter to.</desc>
</param>
<param name="filter" type="IUSBDeviceFilter" dir="in">
<desc>USB device filter to insert.</desc>
</param>
</method>
<method name="removeDeviceFilter">
<desc>
Removes a USB device filter from the specified position in the
list of filters.
Positions are numbered starting from <tt>0</tt>. Specifying a
position equal to or greater than the number of elements in
the list will produce an error.
<see>#deviceFilters</see>
<result name="VBOX_E_INVALID_VM_STATE">
Virtual machine is not mutable.
</result>
<result name="E_INVALIDARG">
USB device filter list empty or invalid @a position.
</result>
</desc>
<param name="position" type="unsigned long" dir="in">
<desc>Position to remove the filter from.</desc>
</param>
<param name="filter" type="IUSBDeviceFilter" dir="return">
<desc>Removed USB device filter.</desc>
</param>
</method>
</interface>
<!--
// IUSBDevice
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IUSBDevice" extends="$unknown"
uuid="850af07b-9ee8-48c2-b6b0-f6d0acbf63c3"
wsmap="managed"
>
<desc>
The IUSBDevice interface represents a virtual USB device attached to the
virtual machine.
A collection of objects implementing this interface is stored in the
<link to="IConsole::USBDevices"/> attribute which lists all USB devices
attached to a running virtual machine's USB controller.
</desc>
<attribute name="id" type="uuid" readonly="yes">
<desc>
Unique USB device ID. This ID is built from #vendorId,
#productId, #revision and #serialNumber.
</desc>
</attribute>
<attribute name="vendorId" type="unsigned short" readonly="yes">
<desc>Vendor ID.</desc>
</attribute>
<attribute name="productId" type="unsigned short" readonly="yes">
<desc>Product ID.</desc>
</attribute>
<attribute name="revision" type="unsigned short" readonly="yes">
<desc>
Product revision number. This is a packed BCD represented as
unsigned short. The high byte is the integer part and the low
byte is the decimal.
</desc>
</attribute>
<attribute name="manufacturer" type="wstring" readonly="yes">
<desc>Manufacturer string.</desc>
</attribute>
<attribute name="product" type="wstring" readonly="yes">
<desc>Product string.</desc>
</attribute>
<attribute name="serialNumber" type="wstring" readonly="yes">
<desc>Serial number string.</desc>
</attribute>
<attribute name="address" type="wstring" readonly="yes">
<desc>Host specific address of the device.</desc>
</attribute>
<attribute name="port" type="unsigned short" readonly="yes">
<desc>
Host USB port number the device is physically
connected to.
</desc>
</attribute>
<attribute name="version" type="unsigned short" readonly="yes">
<desc>
The major USB version of the device - 1 or 2.
</desc>
</attribute>
<attribute name="portVersion" type="unsigned short" readonly="yes">
<desc>
The major USB version of the host USB port the device is
physically connected to - 1 or 2. For devices not connected to
anything this will have the same value as the version attribute.
</desc>
</attribute>
<attribute name="remote" type="boolean" readonly="yes">
<desc>
Whether the device is physically connected to a remote VRDP
client or to a local host machine.
</desc>
</attribute>
</interface>
<!--
// IUSBDeviceFilter
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IUSBDeviceFilter" extends="$unknown"
uuid="d6831fb4-1a94-4c2c-96ef-8d0d6192066d"
wsmap="managed"
>
<desc>
The IUSBDeviceFilter interface represents an USB device filter used
to perform actions on a group of USB devices.
This type of filters is used by running virtual machines to
automatically capture selected USB devices once they are physically
attached to the host computer.
A USB device is matched to the given device filter if and only if all
attributes of the device match the corresponding attributes of the
filter (that is, attributes are joined together using the logical AND
operation). On the other hand, all together, filters in the list of
filters carry the semantics of the logical OR operation. So if it is
desirable to create a match like "this vendor id OR this product id",
one needs to create two filters and specify "any match" (see below)
for unused attributes.
All filter attributes used for matching are strings. Each string
is an expression representing a set of values of the corresponding
device attribute, that will match the given filter. Currently, the
following filtering expressions are supported:
<ul>
<li><i>Interval filters</i>. Used to specify valid intervals for
integer device attributes (Vendor ID, Product ID and Revision).
The format of the string is:
<tt>int:((m)|([m]-[n]))(,(m)|([m]-[n]))*</tt>
where <tt>m</tt> and <tt>n</tt> are integer numbers, either in octal
(starting from <tt>0</tt>), hexadecimal (starting from <tt>0x</tt>)
or decimal (otherwise) form, so that <tt>m &lt; n</tt>. If <tt>m</tt>
is omitted before a dash (<tt>-</tt>), the minimum possible integer
is assumed; if <tt>n</tt> is omitted after a dash, the maximum
possible integer is assumed.
</li>
<li><i>Boolean filters</i>. Used to specify acceptable values for
boolean device attributes. The format of the string is:
<tt>true|false|yes|no|0|1</tt>
</li>
<li><i>Exact match</i>. Used to specify a single value for the given
device attribute. Any string that doesn't start with <tt>int:</tt>
represents the exact match. String device attributes are compared to
this string including case of symbols. Integer attributes are first
converted to a string (see individual filter attributes) and then
compared ignoring case.
</li>
<li><i>Any match</i>. Any value of the corresponding device attribute
will match the given filter. An empty or <tt>null</tt> string is
used to construct this type of filtering expressions.
</li>
</ul>
<note>
On the Windows host platform, interval filters are not currently
available. Also all string filter attributes
(<link to="#manufacturer"/>, <link to="#product"/>,
<link to="#serialNumber"/>) are ignored, so they behave as
<i>any match</i> no matter what string expression is specified.
</note>
<see>IUSBController::deviceFilters, IHostUSBDeviceFilter</see>
</desc>
<attribute name="name" type="wstring">
<desc>
Visible name for this filter.
This name is used to visually distinguish one filter from another,
so it can neither be <tt>null</tt> nor an empty string.
</desc>
</attribute>
<attribute name="active" type="boolean">
<desc>Whether this filter active or has been temporarily disabled.</desc>
</attribute>
<attribute name="vendorId" type="wstring">
<desc>
<link to="IUSBDevice::vendorId">Vendor ID</link> filter.
The string representation for the <i>exact matching</i>
has the form <tt>XXXX</tt>, where <tt>X</tt> is the hex digit
(including leading zeroes).
</desc>
</attribute>
<attribute name="productId" type="wstring">
<desc>
<link to="IUSBDevice::productId">Product ID</link> filter.
The string representation for the <i>exact matching</i>
has the form <tt>XXXX</tt>, where <tt>X</tt> is the hex digit
(including leading zeroes).
</desc>
</attribute>
<attribute name="revision" type="wstring">
<desc>
<link to="IUSBDevice::productId">Product revision number</link>
filter. The string representation for the <i>exact matching</i>
has the form <tt>IIFF</tt>, where <tt>I</tt> is the decimal digit
of the integer part of the revision, and <tt>F</tt> is the
decimal digit of its fractional part (including leading and
trailing zeros).
Note that for interval filters, it's best to use the hexadecimal
form, because the revision is stored as a 16 bit packed BCD value;
so the expression <tt>int:0x0100-0x0199</tt> will match any
revision from <tt>1.0</tt> to <tt>1.99</tt>.
</desc>
</attribute>
<attribute name="manufacturer" type="wstring">
<desc>
<link to="IUSBDevice::manufacturer">Manufacturer</link> filter.
</desc>
</attribute>
<attribute name="product" type="wstring">
<desc>
<link to="IUSBDevice::product">Product</link> filter.
</desc>
</attribute>
<attribute name="serialNumber" type="wstring">
<desc>
<link to="IUSBDevice::serialNumber">Serial number</link> filter.
</desc>
</attribute>
<attribute name="port" type="wstring">
<desc>
<link to="IUSBDevice::port">Host USB port</link> filter.
</desc>
</attribute>
<attribute name="remote" type="wstring">
<desc>
<link to="IUSBDevice::remote">Remote state</link> filter.
<note>
This filter makes sense only for machine USB filters,
i.e. it is ignored by IHostUSBDeviceFilter objects.
</note>
</desc>
</attribute>
<attribute name="maskedInterfaces" type="unsigned long">
<desc>
This is an advanced option for hiding one or more USB interfaces
from the guest. The value is a bit mask where the bits that are set
means the corresponding USB interface should be hidden, masked off
if you like.
This feature only works on Linux hosts.
</desc>
</attribute>
</interface>
<!--
// IHostUSBDevice
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="USBDeviceState"
uuid="b99a2e65-67fb-4882-82fd-f3e5e8193ab4"
>
<desc>
USB device state. This enumeration represents all possible states
of the USB device physically attached to the host computer regarding
its state on the host computer and availability to guest computers
(all currently running virtual machines).
Once a supported USB device is attached to the host, global USB
filters (<link to="IHost::USBDeviceFilters"/>) are activated. They can
either ignore the device, or put it to USBDeviceState_Held state, or do
nothing. Unless the device is ignored by global filters, filters of all
currently running guests (<link to="IUSBController::deviceFilters"/>) are
activated that can put it to USBDeviceState_Captured state.
If the device was ignored by global filters, or didn't match
any filters at all (including guest ones), it is handled by the host
in a normal way. In this case, the device state is determined by
the host and can be one of USBDeviceState_Unavailable, USBDeviceState_Busy
or USBDeviceState_Available, depending on the current device usage.
Besides auto-capturing based on filters, the device can be manually
captured by guests (<link to="IConsole::attachUSBDevice"/>) if its
state is USBDeviceState_Busy, USBDeviceState_Available or
USBDeviceState_Held.
<note>
Due to differences in USB stack implementations in Linux and Win32,
states USBDeviceState_Busy and USBDeviceState_vailable are applicable
only to the Linux version of the product. This also means that (<link
to="IConsole::attachUSBDevice"/>) can only succeed on Win32 if the
device state is USBDeviceState_Held.
</note>
<see>IHostUSBDevice, IHostUSBDeviceFilter</see>
</desc>
<const name="NotSupported" value="0">
<desc>
Not supported by the VirtualBox server, not available to guests.
</desc>
</const>
<const name="Unavailable" value="1">
<desc>
Being used by the host computer exclusively,
not available to guests.
</desc>
</const>
<const name="Busy" value="2">
<desc>
Being used by the host computer, potentially available to guests.
</desc>
</const>
<const name="Available" value="3">
<desc>
Not used by the host computer, available to guests (the host computer
can also start using the device at any time).
</desc>
</const>
<const name="Held" value="4">
<desc>
Held by the VirtualBox server (ignored by the host computer),
available to guests.
</desc>
</const>
<const name="Captured" value="5">
<desc>
Captured by one of the guest computers, not available
to anybody else.
</desc>
</const>
</enum>
<interface
name="IHostUSBDevice" extends="IUSBDevice"
uuid="173b4b44-d268-4334-a00d-b6521c9a740a"
wsmap="managed"
>
<desc>
The IHostUSBDevice interface represents a physical USB device attached
to the host computer.
Besides properties inherited from IUSBDevice, this interface adds the
<link to="#state"/> property that holds the current state of the USB
device.
<see>IHost::USBDevices, IHost::USBDeviceFilters</see>
</desc>
<attribute name="state" type="USBDeviceState" readonly="yes">
<desc>
Current state of the device.
</desc>
</attribute>
<!-- @todo add class, subclass, bandwidth, configs, interfaces endpoints and such later. -->
</interface>
<!--
// IHostUSBDeviceFilter
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="USBDeviceFilterAction"
uuid="cbc30a49-2f4e-43b5-9da6-121320475933"
>
<desc>
Actions for host USB device filters.
<see>IHostUSBDeviceFilter, USBDeviceState</see>
</desc>
<const name="Null" value="0">
<desc>Null value (never used by the API).</desc>
</const>
<const name="Ignore" value="1">
<desc>Ignore the matched USB device.</desc>
</const>
<const name="Hold" value="2">
<desc>Hold the matched USB device.</desc>
</const>
</enum>
<interface
name="IHostUSBDeviceFilter" extends="IUSBDeviceFilter"
uuid="4cc70246-d74a-400f-8222-3900489c0374"
wsmap="managed"
>
<desc>
The IHostUSBDeviceFilter interface represents a global filter for a
physical USB device used by the host computer. Used indirectly in
<link to="IHost::USBDeviceFilters"/>.
Using filters of this type, the host computer determines the initial
state of the USB device after it is physically attached to the
host's USB controller.
<note>
The <link to="#remote"/> attribute is ignored by this type of
filters, because it makes sense only for
<link to="IUSBController::deviceFilters">machine USB filters</link>.
</note>
<see>IHost::USBDeviceFilters</see>
</desc>
<attribute name="action" type="USBDeviceFilterAction">
<desc>
Action performed by the host when an attached USB device
matches this filter.
</desc>
</attribute>
</interface>
<!--
// IAudioAdapter
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="AudioDriverType"
uuid="4bcc3d73-c2fe-40db-b72f-0c2ca9d68496"
>
<desc>
Host audio driver type.
</desc>
<const name="Null" value="0">
<desc>Null value, also means "dummy audio driver".</desc>
</const>
<const name="WinMM" value="1"/>
<const name="OSS" value="2"/>
<const name="ALSA" value="3"/>
<const name="DirectSound" value="4"/>
<const name="CoreAudio" value="5"/>
<const name="MMPM" value="6"/>
<const name="Pulse" value="7"/>
<const name="SolAudio" value="8"/>
</enum>
<enum
name="AudioControllerType"
uuid="7afd395c-42c3-444e-8788-3ce80292f36c"
>
<desc>
Virtual audio controller type.
</desc>
<const name="AC97" value="0"/>
<const name="SB16" value="1"/>
</enum>
<interface
name="IAudioAdapter" extends="$unknown"
uuid="921873db-5f3f-4b69-91f9-7be9e535a2cb"
wsmap="managed"
>
<desc>
The IAudioAdapter interface represents the virtual audio adapter of
the virtual machine. Used in <link to="IMachine::audioAdapter"/>.
</desc>
<attribute name="enabled" type="boolean">
<desc>
Flag whether the audio adapter is present in the
guest system. If disabled, the virtual guest hardware will
not contain any audio adapter. Can only be changed when
the VM is not running.
</desc>
</attribute>
<attribute name="audioController" type="AudioControllerType">
<desc>
The audio hardware we emulate.
</desc>
</attribute>
<attribute name="audioDriver" type="AudioDriverType">
<desc>
Audio driver the adapter is connected to. This setting
can only be changed when the VM is not running.
</desc>
</attribute>
</interface>
<!--
// IVRDPServer
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="VRDPAuthType"
uuid="3d91887a-b67f-4b33-85bf-2da7ab1ea83a"
>
<desc>
VRDP authentication type.
</desc>
<const name="Null" value="0">
<desc>Null value, also means "no authentication".</desc>
</const>
<const name="External" value="1"/>
<const name="Guest" value="2"/>
</enum>
<interface
name="IVRDPServer" extends="$unknown"
uuid="f4584ae7-6bce-474b-83d6-17d235e6aa89"
wsmap="managed"
>
<attribute name="enabled" type="boolean">
<desc>VRDP server status.</desc>
</attribute>
<attribute name="port" type="unsigned long">
<desc>
VRDP server port number.
<note>
Setting the value of this property to <tt>0</tt> will reset the port
number to the default value which is
currently <tt>3389</tt>. Reading this property will always return a
real port number, even after it has been set to <tt>0</tt> (in which
case the default port is returned).
</note>
</desc>
</attribute>
<attribute name="netAddress" type="wstring">
<desc>VRDP server address.</desc>
</attribute>
<attribute name="authType" type="VRDPAuthType">
<desc>VRDP authentication method.</desc>
</attribute>
<attribute name="authTimeout" type="unsigned long">
<desc>Timeout for guest authentication. Milliseconds.</desc>
</attribute>
<attribute name="allowMultiConnection" type="boolean">
<desc>
Flag whether multiple simultaneous connections to the VM are permitted.
Note that this will be replaced by a more powerful mechanism in the future.
</desc>
</attribute>
<attribute name="reuseSingleConnection" type="boolean">
<desc>
Flag whether the existing connection must be dropped and a new connection
must be established by the VRDP server, when a new client connects in single
connection mode.
</desc>
</attribute>
</interface>
<!--
// ISharedFolder
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="ISharedFolder" extends="$unknown"
uuid="64637bb2-9e17-471c-b8f3-f8968dd9884e"
wsmap="struct"
>
<desc>
The ISharedFolder interface represents a folder in the host computer's
file system accessible from the guest OS running inside a virtual
machine using an associated logical name.
There are three types of shared folders:
<ul>
<li><i>Global</i> (<link to="IVirtualBox::sharedFolders"/>), shared
folders available to all virtual machines.</li>
<li><i>Permanent</i> (<link to="IMachine::sharedFolders"/>),
VM-specific shared folders available to the given virtual machine at
startup.</li>
<li><i>Transient</i> (<link to="IConsole::sharedFolders"/>),
VM-specific shared folders created in the session context (for
example, when the virtual machine is running) and automatically
discarded when the session is closed (the VM is powered off).</li>
</ul>
Logical names of shared folders must be unique within the given scope
(global, permanent or transient). However, they do not need to be unique
across scopes. In this case, the definition of the shared folder in a
more specific scope takes precedence over definitions in all other
scopes. The order of precedence is (more specific to more general):
<ol>
<li>Transient definitions</li>
<li>Permanent definitions</li>
<li>Global definitions</li>
</ol>
For example, if MyMachine has a shared folder named
<tt>C_DRIVE</tt> (that points to <tt>C:\\</tt>), then creating a
transient shared folder named <tt>C_DRIVE</tt> (that points
to <tt>C:\\\\WINDOWS</tt>) will change the definition
of <tt>C_DRIVE</tt> in the guest OS so
that <tt>\\\\VBOXSVR\\C_DRIVE</tt> will give access
to <tt>C:\\WINDOWS</tt> instead of <tt>C:\\</tt> on the host
PC. Removing the transient shared folder <tt>C_DRIVE</tt> will restore
the previous (permanent) definition of <tt>C_DRIVE</tt> that points
to <tt>C:\\</tt> if it still exists.
Note that permanent and transient shared folders of different machines
are in different name spaces, so they don't overlap and don't need to
have unique logical names.
<note>
Global shared folders are not implemented in the current version of the
product.
</note>
</desc>
<attribute name="name" type="wstring" readonly="yes">
<desc>Logical name of the shared folder.</desc>
</attribute>
<attribute name="hostPath" type="wstring" readonly="yes">
<desc>Full path to the shared folder in the host file system.</desc>
</attribute>
<attribute name="accessible" type="boolean" readonly="yes">
<desc>
Whether the folder defined by the host path is currently
accessible or not.
For example, the folder can be unaccessible if it is placed
on the network share that is not available by the time
this property is read.
</desc>
</attribute>
<attribute name="writable" type="boolean" readonly="yes">
<desc>
Whether the folder defined by the host path is writable or
not.
</desc>
</attribute>
<attribute name="lastAccessError" type="wstring" readonly="yes">
<desc>
Text message that represents the result of the last accessibility
check.
Accessibility checks are performed each time the <link to="#accessible"/>
attribute is read. A @c null string is returned if the last
accessibility check was successful. A non-null string indicates a
failure and should normally describe a reason of the failure (for
example, a file read error).
</desc>
</attribute>
</interface>
<!--
// ISession
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IInternalSessionControl" extends="$unknown"
uuid="2581845a-5a9d-45fb-bc3b-2476552dd970"
internal="yes"
wsmap="suppress"
>
<method name="getPID">
<desc>PID of the process that has created this Session object.
</desc>
<param name="pid" type="unsigned long" dir="return"/>
</method>
<method name="getRemoteConsole">
<desc>
Returns the console object suitable for remote control.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
<param name="console" type="IConsole" dir="return"/>
</method>
<method name="assignMachine">
<desc>
Assigns the machine object associated with this direct-type
session or informs the session that it will be a remote one
(if @a machine == NULL).
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
<param name="machine" type="IMachine" dir="in"/>
</method>
<method name="assignRemoteMachine">
<desc>
Assigns the machine and the (remote) console object associated with
this remote-type session.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
</desc>
<param name="machine" type="IMachine" dir="in"/>
<param name="console" type="IConsole" dir="in"/>
</method>
<method name="updateMachineState">
<desc>
Updates the machine state in the VM process.
Must be called only in certain cases
(see the method implementation).
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
<param name="aMachineState" type="MachineState" dir="in"/>
</method>
<method name="uninitialize">
<desc>
Uninitializes (closes) this session. Used by VirtualBox to close
the corresponding remote session when the direct session dies
or gets closed.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
</desc>
</method>
<method name="onDVDDriveChange">
<desc>
Triggered when settings of the DVD drive object of the
associated virtual machine have changed.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
</method>
<method name="onFloppyDriveChange">
<desc>
Triggered when settings of the floppy drive object of the
associated virtual machine have changed.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
</method>
<method name="onNetworkAdapterChange">
<desc>
Triggered when settings of a network adapter of the
associated virtual machine have changed.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
<param name="networkAdapter" type="INetworkAdapter" dir="in"/>
</method>
<method name="onSerialPortChange">
<desc>
Triggered when settings of a serial port of the
associated virtual machine have changed.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
<param name="serialPort" type="ISerialPort" dir="in"/>
</method>
<method name="onParallelPortChange">
<desc>
Triggered when settings of a parallel port of the
associated virtual machine have changed.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
<param name="parallelPort" type="IParallelPort" dir="in"/>
</method>
<method name="onStorageControllerChange">
<desc>
Triggered when settings of a storage controller of the
associated virtual machine have changed.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
</method>
<method name="onVRDPServerChange">
<desc>
Triggered when settings of the VRDP server object of the
associated virtual machine have changed.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
</method>
<method name="onUSBControllerChange">
<desc>
Triggered when settings of the USB controller object of the
associated virtual machine have changed.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
</method>
<method name="onSharedFolderChange">
<desc>
Triggered when a permanent (global or machine) shared folder has been
created or removed.
<note>
We don't pass shared folder parameters in this notification because
the order in which parallel notifications are delivered is not defined,
therefore it could happen that these parameters were outdated by the
time of processing this notification.
</note>
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
<param name="global" type="boolean" dir="in"/>
</method>
<method name="onUSBDeviceAttach">
<desc>
Triggered when a request to capture a USB device (as a result
of matched USB filters or direct call to
<link to="IConsole::attachUSBDevice"/>) has completed.
A @c null @a error object means success, otherwise it
describes a failure.
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
<param name="device" type="IUSBDevice" dir="in"/>
<param name="error" type="IVirtualBoxErrorInfo" dir="in"/>
<param name="maskedInterfaces" type="unsigned long" dir="in"/>
</method>
<method name="onUSBDeviceDetach">
<desc>
Triggered when a request to release the USB device (as a result
of machine termination or direct call to
<link to="IConsole::detachUSBDevice"/>) has completed.
A @c null @a error object means success, otherwise it
<result name="VBOX_E_INVALID_VM_STATE">
Session state prevents operation.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
<param name="id" type="uuid" dir="in"/>
<param name="error" type="IVirtualBoxErrorInfo" dir="in"/>
</method>
<method name="onShowWindow">
<desc>
Called by <link to="IMachine::canShowConsoleWindow"/> and by
<link to="IMachine::showConsoleWindow"/> in order to notify
console callbacks
<link to="IConsoleCallback::onCanShowWindow"/>
and <link to="IConsoleCallback::onShowWindow"/>.
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type prevents operation.
</result>
</desc>
<param name="check" type="boolean" dir="in"/>
<param name="canShow" type="boolean" dir="out"/>
<param name="winId" type="unsigned long long" dir="out"/>
</method>
<method name="accessGuestProperty">
<desc>
Called by <link to="IMachine::getGuestProperty"/> and by
<link to="IMachine::setGuestProperty"/> in order to read and
modify guest properties.
<result name="VBOX_E_INVALID_VM_STATE">
Machine session is not open.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type is not direct.
</result>
</desc>
<param name="name" type="wstring" dir="in"/>
<param name="value" type="wstring" dir="in"/>
<param name="flags" type="wstring" dir="in"/>
<param name="isSetter" type="boolean" dir="in"/>
<param name="retValue" type="wstring" dir="out"/>
<param name="retTimestamp" type="unsigned long long" dir="out"/>
<param name="retFlags" type="wstring" dir="out"/>
</method>
<method name="enumerateGuestProperties">
<desc>
Return a list of the guest properties matching a set of patterns along
with their values, time stamps and flags.
<result name="VBOX_E_INVALID_VM_STATE">
Machine session is not open.
</result>
<result name="VBOX_E_INVALID_OBJECT_STATE">
Session type is not direct.
</result>
</desc>
<param name="patterns" type="wstring" dir="in">
<desc>
The patterns to match the properties against as a comma-separated
string. If this is empty, all properties currently set will be
returned.
</desc>
</param>
<param name="key" type="wstring" dir="out" safearray="yes">
<desc>
The key names of the properties returned.
</desc>
</param>
<param name="value" type="wstring" dir="out" safearray="yes">
<desc>
The values of the properties returned. The array entries match the
corresponding entries in the @a key array.
</desc>
</param>
<param name="timestamp" type="unsigned long long" dir="out" safearray="yes">
<desc>
The time stamps of the properties returned. The array entries match
the corresponding entries in the @a key array.
</desc>
</param>
<param name="flags" type="wstring" dir="out" safearray="yes">
<desc>
The flags of the properties returned. The array entries match the
corresponding entries in the @a key array.
</desc>
</param>
</method>
</interface>
<interface
name="ISession" extends="$dispatched"
uuid="12F4DCDB-12B2-4ec1-B7CD-DDD9F6C5BF4D"
wsmap="managed"
>
<desc>
The ISession interface represents a serialization primitive for virtual
machines.
With VirtualBox, every time one wishes to manipulate a virtual machine
(e.g. change its settings or start execution), a session object is
required. Such an object must be passed to one of the session methods
that open the given session, which then initiates the machine manipulation.
A session serves several purposes: it identifies to the inter-process VirtualBox
code which process is currently working with the virtual machine, and it ensures
that there are no incompatible requests from several processes for the
same virtual machine. Session objects can therefore be thought of as mutex
semaphores that lock virtual machines to prevent conflicting accesses from
several processes.
How sessions objects are used depends on whether you use the Main API
via COM or via the webservice:
<ul>
<li>When using the COM API directly, an object of the Session class from the
VirtualBox type library needs to be created. In regular COM C++ client code,
this can be done by calling <tt>createLocalObject()</tt>, a standard COM API.
This object will then act as a local session object in further calls to open
a session.
</li>
<li>In the webservice, the session manager (IWebsessionManager) instead creates
one session object automatically when <link to="IWebsessionManager::logon" />
is called. A managed object reference to that session object can be retrieved by
calling <link to="IWebsessionManager::getSessionObject" />. This session object
reference can then be used to open sessions.
</li>
</ul>
Sessions are mainly used in two variations:
<ul>
<li>
To start a virtual machine in a separate process, one would call
<link to="IVirtualBox::openRemoteSession"/>, which requires a session
object as its first parameter. This session then identifies the caller
and lets him control the started machine (for example, pause machine
execution or power it down) as well as be notified about machine
execution state changes.
</li>
<li>To alter machine settings, or to start machine execution within the
current process, one needs to open a direct session for the machine first by
calling <link to="IVirtualBox::openSession"/>. While a direct session
is open within one process, no any other process may open another direct
session for the same machine. This prevents the machine from being changed
by other processes while it is running or while the machine is being configured.
</li>
</ul>
One also can attach to an existing direct session already opened by
another process (for example, in order to send a control request to the
virtual machine such as the pause or the reset request). This is done by
calling <link to="IVirtualBox::openExistingSession"/>.
<note>
Unless you are trying to write a new VirtualBox front-end that
performs direct machine execution (like the VirtualBox or VBoxSDL
front-ends), don't call <link to="IConsole::powerUp"/> in a direct
session opened by <link to="IVirtualBox::openSession"/> and use this
session only to change virtual machine settings. If you simply want to
start virtual machine execution using one of the existing front-ends
(for example the VirtualBox GUI or headless server), simply use
<link to="IVirtualBox::openRemoteSession"/>; these front-ends
will power up the machine automatically for you.
</note>
</desc>
<attribute name="state" type="SessionState" readonly="yes">
<desc>Current state of this session.</desc>
</attribute>
<attribute name="type" type="SessionType" readonly="yes">
<desc>
Type of this session. The value of this attribute is valid only
if the session is currently open (i.e. its #state is
SessionType_SessionOpen), otherwise an error will be returned.
</desc>
</attribute>
<attribute name="machine" type="IMachine" readonly="yes">
<desc>Machine object associated with this session.</desc>
</attribute>
<attribute name="console" type="IConsole" readonly="yes">
<desc>Console object associated with this session.</desc>
</attribute>
<method name="close">
<desc>
Closes a session that was previously opened.
It is recommended that every time an "open session" method (such as
<link to="IVirtualBox::openRemoteSession" /> or
<link to="IVirtualBox::openSession" />) has been called to
manipulate a virtual machine, the caller invoke
ISession::close() when it's done doing so. Since sessions are
serialization primitives much like ordinary mutexes, they are
best used the same way: for each "open" call, there should be
a matching "close" call, even when errors occur.
Otherwise, if a direct session for a machine opened with
<link to="IVirtualBox::openSession"/> is not explicitly closed
when the application terminates, the state of the machine will
be set to <link to="MachineState_Aborted" /> on the server.
Generally, it is recommended to close all open sessions explicitly
before terminating the application (regardless of the reason for
the termination).
<note>
Do not expect the session state (<link to="ISession::state" />
to return to "Closed" immediately after you invoke
ISession::close(), particularly if you have started a remote
session to execute the VM in a new process. The session state will
automatically return to "Closed" once the VM is no longer executing,
which can of course take a very long time.
</note>
<result name="E_UNEXPECTED">
Session is not open.
</result>
</desc>
</method>
</interface>
<!--
// IStorageController
/////////////////////////////////////////////////////////////////////////
-->
<enum
name="StorageBus"
uuid="f381fdca-5953-41d0-b2bd-0542b012698d"
>
<desc>
The connection type of the storage controller.
</desc>
<const name="Null" value="0">
<desc><tt>null</tt> value. Never used by the API.</desc>
</const>
<const name="IDE" value="1"/>
<const name="SATA" value="2"/>
<const name="SCSI" value="3"/>
</enum>
<enum
name="StorageControllerType"
uuid="685387db-a837-4320-a258-08f46a22f62a"
>
<desc>
Storage controller type.
</desc>
<const name="Null" value="0">
<desc><tt>null</tt> value. Never used by the API.</desc>
</const>
<const name="LsiLogic" value="1"/>
<const name="BusLogic" value="2"/>
<const name="IntelAhci" value="3"/>
<const name="PIIX3" value="4"/>
<const name="PIIX4" value="5"/>
<const name="ICH6" value="6"/>
</enum>
<interface
name="IStorageController" extends="$unknown"
uuid="6bf8335b-d14a-44a5-9b45-ddc49ce7d5b2"
wsmap="managed"
>
<desc>
Represents a storage controller that is attached to a virtual machine
(<link to="IMachine" />). Just as hard disks are attached to storage
controllers in a real computer, virtual hard disks (represented by
<link to="IHardDisk" />) are attached to virtual storage controllers,
represented by this interface.
VirtualBox supports three types of virtual storage controller hardware:
IDE, SCSI, and SATA (see <link to="#bus" />). Depending on which of
these three is used, certain sub-types are available and can be
selected in <link to="#controllerType" />.
</desc>
<attribute name="name" type="wstring" readonly="yes">
<desc>
Name of the storage controller, as originally specified with
<link to="IMachine::addStorageController" />. This then uniquely
identifies this controller with other method calls such as
<link to="IMachine::attachHardDisk" />.
</desc>
</attribute>
<attribute name="maxDevicesPerPortCount" type="unsigned long" readonly="yes">
<desc>
Maximum number of devices which can be attached to one port.
</desc>
</attribute>
<attribute name="minPortCount" type="unsigned long" readonly="yes">
<desc>
Minimum number of ports which can be set with
<link to="IStorageController::SetPortCount"/>.
</desc>
</attribute>
<attribute name="maxPortCount" type="unsigned long" readonly="yes">
<desc>
Maximum number of ports which can be set with
<link to="IStorageController::SetPortCount"/>.
</desc>
</attribute>
<attribute name="instance" type="unsigned long">
<desc>
The instance number of the device in the running VM.
</desc>
</attribute>
<attribute name="portCount" type="unsigned long">
<desc>
The number of currently usable ports on the controller.
The minimum and maximum number of ports for one controller type can
be determined with <link to="IStorageController::GetMinPortCount"/>
and <link to="IStorageController::GetMaxPortCount"/>..
</desc>
</attribute>
<attribute name="bus" type="StorageBus" readonly="yes">
<desc>
The connection type of the storage controller.
</desc>
</attribute>
<attribute name="controllerType" type="StorageControllerType">
<desc>
Type of the virtual storage controller. Depending on this value,
VirtualBox will provide a different virtual storage controller hardware
to the guest.
For SCSI controllers, the default type is LsiLogic.
</desc>
</attribute>
<method name="GetIDEEmulationPort">
<desc>
Gets the corresponding port number which is emulated as an IDE device.
<result name="E_INVALIDARG">
The @a devicePosition is not in the range 0 to 3.
</result>
<result name="E_NOTIMPL">
The storage controller type is not SATAIntelAhci.
</result>
</desc>
<param name="devicePosition" type="long" dir="in"/>
<param name="portNumber" type="long" dir="return"/>
</method>
<method name="SetIDEEmulationPort">
<desc>
Sets the port number which is emulated as an IDE device.
<result name="E_INVALIDARG">
The @a devicePosition is not in the range 0 to 3 or the
@a portNumber is not in the range 0 to 29.
</result>
<result name="E_NOTIMPL">
The storage controller type is not SATAIntelAhci.
</result>
</desc>
<param name="devicePosition" type="long" dir="in"/>
<param name="portNumber" type="long" dir="in"/>
</method>
</interface>
<if target="wsdl">
<!--
// IManagedObjectRef
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IManagedObjectRef" extends="$unknown"
uuid="9474d09d-2313-46de-b568-a42b8718e8ed"
internal="yes"
wsmap="managed"
wscpp="hardcoded"
>
<desc>
Managed object reference.
Only within the webservice, a managed object reference (which is really
an opaque number) allows a webservice client to address an object
that lives in the address space of the webservice server.
Behind each managed object reference, there is a COM object that lives
in the webservice server's address space. The COM object is not freed
until the managed object reference is released, either by an explicit
call to <link to="IManagedObjectRef::release" /> or by logging off from
the webservice (<link to="IWebsessionManager::logoff" />), which releases
all objects created during the webservice session.
Whenever a method call of the VirtualBox API returns a COM object, the
webservice representation of that method will instead return a
managed object reference, which can then be used to invoke methods
on that object.
</desc>
<method name="getInterfaceName">
<desc>
Returns the name of the interface that this managed object represents,
for example, "IMachine", as a string.
</desc>
<param name="return" type="wstring" dir="return"/>
</method>
<method name="release">
<desc>
Releases this managed object reference and frees the resources that
were allocated for it in the webservice server process. After calling
this method, the identifier of the reference can no longer be used.
</desc>
</method>
</interface>
<!--
// IWebsessionManager
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IWebsessionManager" extends="$unknown"
uuid="dea1b4c7-2de3-418a-850d-7868617f7733"
internal="yes"
wsmap="global"
wscpp="hardcoded"
>
<desc>
Websession manager. This provides essential services
to webservice clients.
</desc>
<method name="logon">
<desc>
Logs a new client onto the webservice and returns a managed object reference to
the IVirtualBox instance, which the client can then use as a basis to further
queries, since all calls to the VirtualBox API are based on the IVirtualBox
interface, in one way or the other.
</desc>
<param name="username" type="wstring" dir="in"/>
<param name="password" type="wstring" dir="in"/>
<param name="return" type="IVirtualBox" dir="return"/>
</method>
<method name="getSessionObject">
<desc>
Returns a managed object reference to the internal ISession object that was created
for this web service session when the client logged on.
<see>ISession</see>
</desc>
<param name="refIVirtualBox" type="IVirtualBox" dir="in"/>
<param name="return" type="ISession" dir="return"/>
</method>
<method name="logoff">
<desc>
Logs off the client who has previously logged on with <link to="IWebsessionManager::logoff" />
and destroys all resources associated with the session (most importantly, all
managed objects created in the server while the session was active).
</desc>
<param name="refIVirtualBox" type="IVirtualBox" dir="in"/>
</method>
</interface>
</if>
<!--
// IPerformanceCollector & friends
/////////////////////////////////////////////////////////////////////////
-->
<interface
name="IPerformanceMetric" extends="$unknown"
uuid="2a1a60ae-9345-4019-ad53-d34ba41cbfe9" wsmap="managed"
>
<desc>
The IPerformanceMetric interface represents parameters of the given
performance metric.
</desc>
<attribute name="metricName" type="wstring" readonly="yes">
<desc>
Name of the metric.
</desc>
</attribute>
<attribute name="object" type="$unknown" readonly="yes">
<desc>
Object this metric belongs to.
</desc>
</attribute>
<attribute name="description" type="wstring" readonly="yes">
<desc>
Textual description of the metric.
</desc>
</attribute>
<attribute name="period" type="unsigned long" readonly="yes">
<desc>
Time interval between samples, measured in seconds.
</desc>
</attribute>
<attribute name="count" type="unsigned long" readonly="yes">
<desc>
Number of recent samples retained by the performance collector for this
metric.
When the collected sample count exceeds this number, older samples
are discarded.
</desc>
</attribute>
<attribute name="unit" type="wstring" readonly="yes">
<desc>
Unit of measurement.
</desc>
</attribute>
<attribute name="minimumValue" type="long" readonly="yes">
<desc>
Minimum possible value of this metric.
</desc>
</attribute>
<attribute name="maximumValue" type="long" readonly="yes">
<desc>
Maximum possible value of this metric.
</desc>
</attribute>
</interface>
<interface
name="IPerformanceCollector" extends="$unknown"
uuid="e22e1acb-ac4a-43bb-a31c-17321659b0c6"
wsmap="managed"
>
<desc>
The IPerformanceCollector interface represents a service that collects and
stores performance metrics data.
Performance metrics are associated with objects like IHost and
IMachine. Each object has a distinct set of performance metrics.
The set can be obtained with <link to="IPerformanceCollector::getMetrics"/>.
Metric data are collected at the specified intervals and are retained
internally. The interval and the number of samples retained can be set
with <link to="IPerformanceCollector::setupMetrics" />.
Metrics are organized hierarchically, each level separated by slash (/).
General scheme for metric name is
"Category/Metric[/SubMetric][:aggregation]". For example CPU/Load/User:avg
metric name stands for: CPU category, Load metric, User submetric, average
aggregate. An aggregate function is computed over all retained data. Valid
aggregate functions are:
<ul>
<li>avg -- average</li>
<li>min -- minimum</li>
<li>max -- maximum</li>
</ul>
"Category/Metric" together form base metric name. A base metric is the
smallest unit for which a sampling interval and the number of retained
samples can be set. Only base metrics can be enabled and disabled. All
sub-metrics are collected when their base metric is collected.
Collected values for any set of sub-metrics can be queried with
<link to="IPerformanceCollector::queryMetricsData" />. When setting up
metric parameters, querying metric data, enabling or disabling metrics
wildcards can be used in metric names to specify a subset of metrics. For
example, to select all CPU-related metrics use <tt>CPU/*</tt>, all
averages can be queried using <tt>*:avg</tt> and so on. To query metric
values without aggregates <tt>*:</tt> can be used.
The valid names for base metrics are:
<ul>
<li>CPU/Load</li>
<li>CPU/MHz</li>
<li>RAM/Usage</li>
</ul>
The general sequence for collecting and retrieving the metrics is:
<ul>
<li>
Obtain an instance of IPerformanceCollector with
<link to="IVirtualBox::performanceCollector" />
</li>
<li>
Allocate and populate an array with references to objects the metrics
will be collected for. Use references to IHost and IMachine objects.
</li>
<li>
Allocate and populate an array with base metric names the data will be
collected for.
</li>
<li>
Call <link to="IPerformanceCollector::setupMetrics" />. From now on the
metric data will be collected and stored.
</li>
<li>
Wait for the data to get collected.
</li>
<li>
Allocate and populate an array with references to objects the metric
values will be queried for. You can re-use the object array used for
setting base metrics.
</li>
<li>
Allocate and populate an array with metric names the data will be
collected for. Note that metric names differ from base metric names.
</li>
<li>
Call <link to="IPerformanceCollector::queryMetricsData" />. The data that
have been collected so far are returned. Note that the values are still
retained internally and data collection continues.
</li>
</ul>
For an example of usage refer to the following files in VirtualBox SDK:
<ul>
<li>
Java: <tt>bindings/webservice/java/jax-ws/samples/metrictest.java</tt>
</li>
<li>
Python: <tt>bindings/xpcom/python/sample/shellcommon.py</tt>
</li>
</ul>
</desc>
<attribute name="metricNames" type="wstring" readonly="yes" safearray="yes">
<desc>
Array of unique names of metrics.
This array represents all metrics supported by the performance
collector. Individual objects do not necessarily support all of them.
<link to="IPerformanceCollector::getMetrics"/> can be used to get the
list of supported metrics for a particular object.
</desc>
</attribute>
<method name="getMetrics">
<desc>
Returns parameters of specified metrics for a set of objects.
<note>
@c Null metrics array means all metrics. @c Null object array means
all existing objects.
</note>
</desc>
<param name="metricNames" type="wstring" dir="in" safearray="yes">
<desc>
Metric name filter. Currently, only a comma-separated list of metrics
is supported.
</desc>
</param>
<param name="objects" type="$unknown" dir="in" safearray="yes">
<desc>
Set of objects to return metric parameters for.
</desc>
</param>
<param name="metrics" type="IPerformanceMetric" dir="return" safearray="yes">
<desc>
Array of returned metric parameters.
</desc>
</param>
</method>
<method name="setupMetrics">
<desc>
Sets parameters of specified base metrics for a set of objects. Returns
an array of <link to="IPerformanceMetric" /> describing the metrics have
been affected.
<note>
@c Null or empty metric name array means all metrics. @c Null or empty
object array means all existing objects. If metric name array contains
a single element and object array contains many, the single metric
name array element is applied to each object array element to form
metric/object pairs.
</note>
</desc>
<param name="metricNames" type="wstring" dir="in" safearray="yes">
<desc>
Metric name filter. Comma-separated list of metrics with wildcard
support.
</desc>
</param>
<param name="objects" type="$unknown" dir="in" safearray="yes">
<desc>
Set of objects to setup metric parameters for.
</desc>
</param>
<param name="period" type="unsigned long" dir="in">
<desc>
Time interval in seconds between two consecutive samples of performance
data.
</desc>
</param>
<param name="count" type="unsigned long" dir="in">
<desc>
Number of samples to retain in performance data history. Older samples
get discarded.
</desc>
</param>
<param name="affectedMetrics" type="IPerformanceMetric" dir="return" safearray="yes">
<desc>
Array of metrics that have been modified by the call to this method.
</desc>
</param>
</method>
<method name="enableMetrics">
<desc>
Turns on collecting specified base metrics. Returns an array of
<link to="IPerformanceMetric" /> describing the metrics have been
affected.
<note>
@c Null or empty metric name array means all metrics. @c Null or empty
object array means all existing objects. If metric name array contains
a single element and object array contains many, the single metric
name array element is applied to each object array element to form
metric/object pairs.
</note>
</desc>
<param name="metricNames" type="wstring" dir="in" safearray="yes">
<desc>
Metric name filter. Comma-separated list of metrics with wildcard
support.
</desc>
</param>
<param name="objects" type="$unknown" dir="in" safearray="yes">
<desc>
Set of objects to enable metrics for.
</desc>
</param>
<param name="affectedMetrics" type="IPerformanceMetric" dir="return" safearray="yes">
<desc>
Array of metrics that have been modified by the call to this method.
</desc>
</param>
</method>
<method name="disableMetrics">
<desc>
Turns off collecting specified base metrics. Returns an array of
<link to="IPerformanceMetric" /> describing the metrics have been
affected.
<note>
@c Null or empty metric name array means all metrics. @c Null or empty
object array means all existing objects. If metric name array contains
a single element and object array contains many, the single metric
name array element is applied to each object array element to form
metric/object pairs.
</note>
</desc>
<param name="metricNames" type="wstring" dir="in" safearray="yes">
<desc>
Metric name filter. Comma-separated list of metrics with wildcard
support.
</desc>
</param>
<param name="objects" type="$unknown" dir="in" safearray="yes">
<desc>
Set of objects to disable metrics for.
</desc>
</param>
<param name="affectedMetrics" type="IPerformanceMetric" dir="return" safearray="yes">
<desc>
Array of metrics that have been modified by the call to this method.
</desc>
</param>
</method>
<method name="queryMetricsData">
<desc>
Queries collected metrics data for a set of objects.
The data itself and related metric information are returned in seven
parallel and one flattened array of arrays. Elements of
<tt>returnMetricNames, returnObjects, returnUnits, returnScales,
returnSequenceNumbers, returnDataIndices and returnDataLengths</tt> with
the same index describe one set of values corresponding to a single
metric.
The <tt>returnData</tt> parameter is a flattened array of arrays. Each
start and length of a sub-array is indicated by
<tt>returnDataIndices</tt> and <tt>returnDataLengths</tt>. The first
value for metric <tt>metricNames[i]</tt> is at
<tt>returnData[returnIndices[i]]</tt>.
<note>
@c Null or empty metric name array means all metrics. @c Null or empty
object array means all existing objects. If metric name array contains
a single element and object array contains many, the single metric
name array element is applied to each object array element to form
metric/object pairs.
</note>
<note>
Data collection continues behind the scenes after call to
@c queryMetricsData. The return data can be seen as the snapshot of
the current state at the time of @c queryMetricsData call. The
internally kept metric values are not cleared by the call. This makes
possible querying different subsets of metrics or aggregates with
subsequent calls. If periodic querying is needed it is highly
suggested to query the values with @c interval*count period to avoid
confusion. This way a completely new set of data values will be
provided by each query.
</note>
</desc>
<param name="metricNames" type="wstring" dir="in" safearray="yes">
<desc>
Metric name filter. Comma-separated list of metrics with wildcard
support.
</desc>
</param>
<param name="objects" type="$unknown" dir="in" safearray="yes">
<desc>
Set of objects to query metrics for.
</desc>
</param>
<param name="returnMetricNames" type="wstring" dir="out" safearray="yes">
<desc>
Names of metrics returned in @c returnData.
</desc>
</param>
<param name="returnObjects" type="$unknown" dir="out" safearray="yes">
<desc>
Objects associated with metrics returned in @c returnData.
</desc>
</param>
<param name="returnUnits" type="wstring" dir="out" safearray="yes">
<desc>
Units of measurement for each returned metric.
</desc>
</param>
<param name="returnScales" type="unsigned long" dir="out" safearray="yes">
<desc>
Divisor that should be applied to return values in order to get
floating point values. For example:
<tt>(double)returnData[returnDataIndices[0]+i] / returnScales[0]</tt>
will retrieve the floating point value of i-th sample of the first
metric.
</desc>
</param>
<param name="returnSequenceNumbers" type="unsigned long" dir="out" safearray="yes">
<desc>
Sequence numbers of the first elements of value sequences of particular metrics
returned in @c returnData. For aggregate metrics it is the sequence number of
the sample the aggregate started calculation from.
</desc>
</param>
<param name="returnDataIndices" type="unsigned long" dir="out" safearray="yes">
<desc>
Indices of the first elements of value sequences of particular metrics
returned in @c returnData.
</desc>
</param>
<param name="returnDataLengths" type="unsigned long" dir="out" safearray="yes">
<desc>
Lengths of value sequences of particular metrics.
</desc>
</param>
<param name="returnData" type="long" dir="return" safearray="yes">
<desc>
Flattened array of all metric data containing sequences of values for
each metric.
</desc>
</param>
</method>
</interface>
<module name="VBoxSVC" context="LocalServer">
<class name="VirtualBox" uuid="B1A7A4F2-47B9-4A1E-82B2-07CCD5323C3F"
namespace="virtualbox.org">
<interface name="IVirtualBox" default="yes"/>
</class>
</module>
<module name="VBoxC" context="InprocServer" threadingModel="Free">
<class name="Session" uuid="3C02F46D-C9D2-4f11-A384-53F0CF917214"
namespace="virtualbox.org">
<interface name="ISession" default="yes"/>
</class>
</module>
</library>
</idl>
<!-- vim: set shiftwidth=2 tabstop=2 expandtab: -->