VirtualBox

Changeset 5797 in vbox


Ignore:
Timestamp:
Nov 19, 2007 8:17:55 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26203
Message:

Main: Documentatin corrections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r5784 r5797  
    512512     >
    513513    <desc>
    514       Extended error information.
     514      The IVirtualBoxErrorInfo interface represent extended error information.
    515515
    516516      Such extended error information can be set by VirtualBox components
     
    21792179     >
    21802180    <desc>
    2181         BIOS settings in a virtual machine. Used in <link to="IMachine::BIOSSettings" />.
     2181        The IBIOSSettings interface represents BIOS settings of the virtual
     2182        machine. Used in <link to="IMachine::BIOSSettings" />.
    21822183    </desc>
    21832184    <attribute name="logoFadeIn" type="boolean">
     
    22452246     >
    22462247    <desc>
    2247       A virtual machine, or guest, created in VirtualBox.
    2248 
    2249       This is used in two contexts, mainly: A collection of these is in
    2250       <link to="IVirtualBox::machines" />, listing all the virtual machines
    2251       that are currently registered with this VirtualBox installation. Also,
    2252       once a remote session has been opened for this machine (i.e. the
    2253       virtual machine is running), a copy of the machine is in the console
    2254       object that represents the connection to the remote session; see
    2255       <link to="IConsole" /> for details.
    2256 
    2257       All the settings and actions that are visible in VirtualBox's
    2258       front-ends are represented by attributes and methods of this interface.
    2259       However, in order to start a virtual machine, as indicated above,
    2260       call <link to="IVirtualBox::openRemoteSession" />; to change machine
    2261       settings, one needs to open a direct session, see
    2262       <link to="IVirtualBox::openSession" />.
    2263 
    2264       <see>IConsole, ISession</see>
     2248      The IMachine interface represents a virtual machine, or guest, created
     2249      in VirtualBox.
     2250
     2251      This interface is used in two contexts. First of all, a collection of
     2252      objects implementing this interface is stored in the
     2253      <link to="IVirtualBox::machines"/> attribute which lists all the virtual
     2254      machines that are currently registered with this VirtualBox
     2255      installation. Also, once a session has been opened for the given virtual
     2256      machine (e.g. the virtual machine is running), the machine object
     2257      associated with the open session can be queried from the session object;
     2258      see <link to="ISession"/> for details.
     2259
     2260      The main role of this interface is to expose the settings of the virtual
     2261      machine and provide methods to change various aspects of the virtual
     2262      machine's configuration. For machine objects stored in the
     2263      <link to="IVirtualBox::machines"/> collection, all attributes are
     2264      read-only unless explicitely stated otherwise in individual attribute
     2265      and method descriptions. In order to change a machine setting, a session
     2266      for this machine must be opened using one of
     2267      <link to="IVirtualBox::openSession"/>,
     2268      <link to="IVirtualBox::openRemoteSession"/> or
     2269      <link to="IVirtualBox::openExistingSession"/> methdods. After the
     2270      session has been successfully opened, a mutable machine object needs to
     2271      be queried from the session object and then the desired settings changes
     2272      can be applied to the returned object using IMachine attributes and
     2273      methods. See the ISession interface description for more information
     2274      about sessions.
     2275
     2276      Note that the IMachine interface does not provide methods to control
     2277      virtual machine execution (such as start the machine, or power it
     2278      down) -- these methods are grouped in a separate IConsole
     2279      interface. Refer to the IConsole interface description to get more
     2280      information about this topic.
     2281
     2282      <see>ISession, IConsole</see>
    22652283    </desc>
    22662284
     
    26732691        the boot order.
    26742692
    2675         @todo [remove?]
    2676         If the machine can have more than one device of the given type
    2677         (such as hard disks), then a separate method should be used to
    2678         specify the boot order for individual devices. Using this method
    2679         in such cases will put the first device in the group
    2680         (for example, a hard disk attached as Master on the primary
    2681         IDE controller) to the given position.
    2682 
    2683         To indicate that no any device is associated with the
    2684         given position, <link to="DeviceType::NoDevice"/> should be used.
     2693        To indicate that no device is associated with the given position,
     2694        <link to="DeviceType::NoDevice"/> should be used.
    26852695
    26862696        @todo setHardDiskBootOrder(), setNetworkBootOrder()
     
    35293539     >
    35303540    <desc>
    3531       Connection to machine's remote session.
    3532 
    3533       A console conceptually represents a connection to a remote session,
    3534       as opened by <link to="IVirtualBox::openRemoteSession" />. An
    3535       IConsole object lives in the local address space (and not remotely,
    3536       like IVirtualBox and IMachine do) and allows the owner to control
    3537       the virtual machine's state.
     3541      The IConsole interface represents an interface to control virtual
     3542      machine execution.
     3543
     3544      The console object that implements the IConsole interface is obtained
     3545      from a session object after the session for the given machine has been
     3546      opened using one of <link to="IVirtualBox::openSession"/>,
     3547      <link to="IVirtualBox::openRemoteSession"/> or
     3548      <link to="IVirtualBox::openExistingSession"/> methdods.
     3549
     3550      Methods of the IConsole interface allow the caller to query the current
     3551      virtual machine execution state, pause the machine or power it down, save
     3552      the machine state or take a snapshot, attach and detach removable media
     3553      and so on.
     3554
     3555      <see>ISession</see>
    35383556    </desc>
    35393557
     
    40764094     >
    40774095    <desc>
    4078       Physical CD/DVD drive hardware on the host. Used indirectly in <link to="IHost::DVDDrives" />.
     4096      The IHostDVDDrive interface represents the physical CD/DVD drive
     4097      hardware on the host. Used indirectly in <link to="IHost::DVDDrives"/>.
    40794098    </desc>
    40804099
     
    41384157     >
    41394158    <desc>
    4140       Physical floppy drive hardware on the host. Used indirectly in <link to="IHost::floppyDrives" />.
     4159      The IHostFloppyDrive interface represents the physical floppy drive
     4160      hardware on the host. Used indirectly in <link to="IHost::floppyDrives"/>.
    41414161    </desc>
    41424162    <attribute name="name" type="wstring" readonly="yes">
     
    42574277     >
    42584278    <desc>
    4259       The physical machine that this VirtualBox installation runs on.
    4260 
    4261       This is used in <link to="IVirtualBox::host" /> and contains both read-only
    4262       information about the host's physical hardware (such as what processors,
    4263       and disks are available, what the host operating system is, and so on).
    4264 
    4265       This also allows for manipulating some of the host's hardware, such as
    4266       USB and host interface networking.
     4279      The IHost interface represents the physical machine that this VirtualBox
     4280      installation runs on.
     4281
     4282      An object implementing this interface is returned by the
     4283      <link to="IVirtualBox::host" /> attribute. This interface contains
     4284      read-only information about the host's physical hardware (such as what
     4285      processors, and disks are available, what the host operating system is,
     4286      and so on) and also allows for manipulating some of the host's hardware,
     4287      such as global USB device filters and host interface networking.
    42674288
    42684289    </desc>
     
    47024723     >
    47034724    <desc>
    4704       Operating system information of a virtual machine. Used in <link to="IConsole::guest" />.
    4705 
    4706       IGuest provides information about the guest's operating system, whether
    4707       Guest Additions are installed and other OS-specific virtual machine properties.
     4725      The IGuest interface represents information about the operating system
     4726      running inside the virtual machine. Used in
     4727      <link to="IConsole::guest"/>.
     4728
     4729      IGuest provides information about the guest operating system, whether
     4730      Guest Additions are installed and other OS-specific virtual machine
     4731      properties.
    47084732    </desc>
    47094733
     
    58395863
    58405864    <desc>
    5841       Specific type of <link to="IHardDisk" /> that uses VDI image files.
     5865      The IVirtualDiskImage interface represent a specific type of
     5866      <link to="IHardDisk" /> that uses VDI image files.
    58425867
    58435868      The Virtual Disk Image (VDI) format is VirtualBox's native format for
    58445869      hard disk containers.
    58455870
    5846       Hard disks using virtual disk images can be either opened using
    5847       <link to="IVirtualBox::openVirtualDiskImage()"/> or created from
    5848       scratch using <link to="IVirtualBox::createHardDisk()"/>.
    5849 
    58505871      Objects that support this interface also support the
    58515872      <link to="IHardDisk"/> interface.
     5873
     5874      Hard disks using virtual disk images can be either opened using
     5875      <link to="IVirtualBox::openHardDisk()"/> or created from
     5876      scratch using <link to="IVirtualBox::createHardDisk()"/>.
    58525877
    58535878      When a new hard disk object is created from scatch, an image file for it
     
    59896014
    59906015    <desc>
    5991       Specific type of <link to="IHardDisk" /> that uses iSCSI.
     6016      THe IISCSIHardDisk interface represents a specific type of
     6017      <link to="IHardDisk"/> that uses iSCSI.
    59926018
    59936019      The IISCSIHardDisk interface represents <link to="IHardDisk">virtual
     
    59966022
    59976023      Objects that support this interface also support the
    5998       <link to="IHardDisk"/> interface. In other words, in C++ terms,
    5999       one can consider this class to be derived from IHardDisk.
    6000 
    6001       As with other hard disk objects, hard disks using custom hard disk
    6002       images can be opened using <link to="IVirtualBox::openHardDisk()"/>.
     6024      <link to="IHardDisk"/> interface.
    60036025
    60046026      iSCSI hard disks can be created using
     
    60936115     >
    60946116    <desc>
    6095       Specific type of <link to="IHardDisk" /> that uses VMDK image files.
     6117      The IVMDKImage interface represents a specific type of
     6118      <link to="IHardDisk"/> that uses VMDK image files.
    60966119
    60976120      The Virtual Machine Disk (VMDK) format is the industry standard format
     
    60996122      own native VDI format.
    61006123
     6124      Objects that support this interface also support the
     6125      <link to="IHardDisk"/> interface.
     6126
    61016127      Hard disks using VMDK images can be either opened using
    61026128      <link to="IVirtualBox::openHardDisk()"/> or created from
    61036129      scratch using <link to="IVirtualBox::createHardDisk()"/>.
    6104 
    6105       Objects that support this interface also support the
    6106       <link to="IHardDisk"/> interface.
    61076130
    61086131      When a new hard disk object is created from scatch, an image file for it
     
    62516274     >
    62526275    <desc>
    6253       Specific type of <link to="IHardDisk" /> that is supported through a third-party plugin.
     6276      The ICustomHardDisk interface represents a specific type of
     6277      <link to="IHardDisk" /> that is supported through a third-party plugin.
     6278
     6279      This interface allows to add support for custom hard disk formats to
     6280      VirtualBox.
    62546281
    62556282      Objects that support this interface also support the
    6256       <link to="IHardDisk"/> interface. In other words, in C++ terms,
    6257       one can consider this class to be derived from IHardDisk.
    6258 
    6259       As with other hard disk objects, hard disks using custom hard disk
    6260       images can be opened using <link to="IVirtualBox::openHardDisk()"/>.
    6261 
    6262       When a new hard disk object is created from scratch, an image file for it
    6263       is not automatically created. To do it, you need to specify a
    6264       valid <link to="#filePath">file path</link>, and call
     6283      <link to="IHardDisk"/> interface.
     6284
     6285      Hard disks using custom hard disk formats can be either opened using
     6286      <link to="IVirtualBox::openHardDisk()"/> or created from scratch using
     6287      <link to="IVirtualBox::createHardDisk()"/>.
     6288
     6289      When a new hard disk object is created from scratch, an image file for
     6290      it is not automatically created. To do it, you need to specify a
     6291      valid <link to="#location">location</link>, and call
    62656292      <link to="#createFixedImage()"/> or <link to="#createDynamicImage()"/>.
    62666293      When it is done, the hard disk object can be registered by calling
     
    65256552     >
    65266553    <desc>
    6527       Virtual CD/DVD drive in a virtual machine. Used in <link to="IMachine::DVDDrive" />.
     6554      The IDVDDrive interface represents the virtual CD/DVD drive of the
     6555      virtual machine. Used in <link to="IMachine::DVDDrive"/>.
    65286556    </desc>
    65296557    <attribute name="state" type="DriveState" readonly="yes">
     
    66766704     >
    66776705    <desc>
    6678       Virtual floppy drive in a virtual machine. Used in <link to="IMachine::FloppyDrive" />.
     6706      The IFloppyDrive interface represents the virtual floppy drive of the
     6707      virtual machine. Used in <link to="IMachine::FloppyDrive" />.
    66796708    </desc>
    66806709
     
    67286757     >
    67296758    <desc>
    6730       A virtual machine's keyboard within an <link to="IConsole" />. Used in <link to="IConsole:.keyboard" />.
     6759      The IKeyboard interface represents the virtual machine's keyboard. Used
     6760      in <link to="IConsole::keyboard"/>.
    67316761
    67326762      Through this interface, the virtual machine's virtual keyboard can be controlled. One
     
    67756805     >
    67766806    <desc>
    6777       A virtual machine's mouse within an <link to="IConsole" />. Used in <link to="IConsole:.mouse" />.
    6778 
    6779       Through this interface, the virtual machine's virtual mouse can be controlled.
     6807      The IMouse interface represents the virtual machine's mouse. Used in
     6808      <link to="IConsole::mouse"/>.
     6809
     6810      Through this interface, the virtual machine's virtual mouse can be
     6811      controlled.
    67806812    </desc>
    67816813
     
    72707302     >
    72717303    <desc>
    7272       An alpha blended overlay for displaying status icons above an IFramebuffer.
    7273       It is always created not visible, so that it must be explicitly shown.  It
    7274       only covers a portion of the IFramebuffer, determined by its width, height
    7275       and co-ordinates.  It is always in packed pixel little-endian 32bit ARGB (in
    7276       that order) format, and may be written to directly.  Do re-read the width
    7277       though, after setting it, as it may be adjusted (increased) to make it more
    7278       suitable for the front end.
     7304      The IFramebufferOverlay interface represents an alpha blended overlay
     7305      for displaying status icons above an IFramebuffer.  It is always created
     7306      not visible, so that it must be explicitly shown.  It only covers a
     7307      portion of the IFramebuffer, determined by its width, height and
     7308      co-ordinates.  It is always in packed pixel little-endian 32bit ARGB (in
     7309      that order) format, and may be written to directly.  Do re-read the
     7310      width though, after setting it, as it may be adjusted (increased) to
     7311      make it more suitable for the front end.
    72797312    </desc>
    72807313    <attribute name="x" type="unsigned long" readonly="yes">
     
    73157348     >
    73167349    <desc>
    7317       A virtual machine's display within an <link to="IConsole" />.
    7318 
    7319       One display object is contained in each <link to="IConsole::display" />
    7320       attribute and represents the visual output of the virtual machine. This
    7321       can represent a window on the host (for a local display).
    7322 
     7350      The IDisplay interface represents the virtual machine's display.
     7351
     7352      The object implementing this interface is contained in each
     7353      <link to="IConsole::display"/> attribute and represents the visual
     7354      output of the virtual machine.
     7355
     7356      The virtual display supports pluggable output targets represented by the
     7357      IFramebuffer interface. Examples of the output target are a window on
     7358      the host computer or an RDP sessoin's display on a remote computer.
    73237359    </desc>
    73247360    <attribute name="width" type="unsigned long" readonly="yes">
     
    76357671     uuid="b266f43c-2e93-46b3-812b-c20e600e867b"
    76367672     >
    7637     <const name="DisconnectedPort"        value="0"/>
    7638     <const name="HostPipePort"            value="1"/>
    7639     <const name="HostDevicePort"          value="2"/>
     7673    <desc>
     7674      The PortMode enumeration represents possible communicaton modes for
     7675      the virtual serial port device.
     7676    </desc>
     7677
     7678    <const name="DisconnectedPort"        value="0">
     7679      <desc>Virtual device is not attached to any real host device.</desc>
     7680    </const>
     7681    <const name="HostPipePort"            value="1">
     7682      <desc>Virtual device is attached to a host pipe.</desc>
     7683    </const>
     7684    <const name="HostDevicePort"          value="2">
     7685      <desc>Virtual device is attached to a host device.</desc>
     7686    </const>
    76407687  </enum>
    76417688
     
    76467693     >
    76477694
     7695    <desc>
     7696      The ISerialPort interface represents the virtual serial port device.
     7697
     7698      The virtual serial port device acts like an ordinary serial port
     7699      inside the virtual machine. This device communicates to the real
     7700      serial port hardware in one of two modes: host pipe or host device.
     7701
     7702      In host pipe mode, the #path attribute specifies the path to the pipe on
     7703      the host computer that represents a serial port. The #server attribute
     7704      determines if this pipe is created by the virtual machine process at
     7705      machine startup or it must already exist before starting machine
     7706      execution.
     7707
     7708      In host device mode, the #path attribute specifies the name of the
     7709      serial port device on the host computer.
     7710
     7711      There is also a third communication mode: the disconnected mode. In this
     7712      mode, the guest OS running inside the virtual machine will be able to
     7713      detect the serial port, but all port write operations will be discarded
     7714      and all port read operations will return no data.
     7715
     7716      <see>IMachine::getSerial</see>
     7717    </desc>
     7718
    76487719     <attribute name="slot" type="unsigned long" readonly="yes">
    76497720      <desc>
     
    76627733
    76637734    <attribute name="IOBase" type="unsigned long">
    7664       <desc>I/O base of the serial port.</desc>
     7735      <desc>Base I/O address of the serial port.</desc>
    76657736    </attribute>
    76667737
    76677738    <attribute name="IRQ" type="unsigned long">
    7668       <desc>IRQ of the serial port.</desc>
     7739      <desc>IRQ number of the serial port.</desc>
    76697740    </attribute>
    76707741
     
    76777748        Flag whether this serial port acts as a server (creates a new pipe on
    76787749        the host) or as a client (uses the existing pipe). This attribute is
    7679         used only when #hostMode is PortMode::HostPipe.
     7750        used only when #hostMode is PortMode::HostPipePort.
    76807751      </desc>
    76817752    </attribute>
     
    76847755      <desc>
    76857756        Path to the serial port's pipe on the host when #hostMode is
    7686         PortMode::HostPipe, or the host serial device name when #hostMode is
    7687         PortMode::HostDevice.
     7757        PortMode::HostPipePort, or the host serial device name when #hostMode
     7758        is PortMode::HostDevicePort. In either of the above cases, setting a
     7759        @c null or an empty string as the attribute's value will result into
     7760        an error.
    76887761      </desc>
    76897762    </attribute>
     
    77027775     >
    77037776
     7777    <desc>
     7778      The IParallelPort interface represents the virtual parallel port device.
     7779
     7780      The virtual parallel port device acts like an ordinary parallel port
     7781      inside the virtual machine. This device communicates to the real
     7782      parallel port hardware using the name of the parallel device on the host
     7783      computer specified in the #path attribute.
     7784
     7785      Each virtual parallel port device is assigned a base I/O address and an
     7786      IRQ number that will be reported to the guest operating system and used
     7787      to operate the given parallel port from within the virtual machine.
     7788
     7789      <see>IMachine::getParallelPort</see>
     7790    </desc>
     7791
    77047792     <attribute name="slot" type="unsigned long" readonly="yes">
    77057793      <desc>
     
    77187806
    77197807    <attribute name="IOBase" type="unsigned long">
    7720       <desc>I/O base of the parallel port.</desc>
     7808      <desc>Base I/O address of the parallel port.</desc>
    77217809    </attribute>
    77227810
    77237811    <attribute name="IRQ" type="unsigned long">
    7724       <desc>IRQ of the parallel port.</desc>
     7812      <desc>IRQ number of the parallel port.</desc>
    77257813    </attribute>
    77267814
    77277815    <attribute name="path" type="wstring">
    7728       <desc>Host parallel device name.</desc>
     7816      <desc>
     7817        Host parallel device name. Setting a null or an empty string as this
     7818        attribute's value will result into an error.
     7819      </desc>
    77297820    </attribute>
    77307821
     
    80168107     >
    80178108    <desc>
    8018       Virtual USB device within an <link to="IConsole" />.
    8019 
    8020       A collection of these is in <link to="IConsole::USBDevices" />.
    8021       Virtual USB devices can be attached to a running virtual machine's
    8022       USB controller.
    8023 
     8109      The IUSBDevice interface represents a virtual USB device attached to the
     8110      virtual machine.
     8111
     8112      A collection of objects implementing this interface is stored in the
     8113      <link to="IConsole::USBDevices"/> attribute which lists all USB devices
     8114      attached to a running virtual machine's USB controller.
    80248115    </desc>
    80258116
     
    84128503     >
    84138504    <desc>
    8414       Physical USB device attached to the host computer.
    8415 
    8416       Among with properties inherited from IUSBDevice,
    8417       this interface adds the <link to="#state"/> property
    8418       that holds the courrent state of the USB device.
     8505      The IHostUSBDevice interface represents a physical USB device attached
     8506      to the host computer.
     8507
     8508      Besides properties inherited from IUSBDevice, this interface adds the
     8509      <link to="#state"/> property that holds the courrent state of the USB
     8510      device.
    84198511
    84208512      <see>IHost::USBDevices, IHost::USBDeviceFilters</see>
     
    84738565     >
    84748566    <desc>
    8475       Filter for a physical USB device used by the host computer. Used indirectly
    8476       in <link to="IHost::USBDeviceFilters" />.
     8567      The IHostUSBDeviceFilter interface represents a global filter for a
     8568      physical USB device used by the host computer. Used indirectly in
     8569      <link to="IHost::USBDeviceFilters"/>.
    84778570
    84788571      Using filters of this type, the host computer determines the initial
     
    85228615     >
    85238616    <desc>
    8524         Virtual audio adapter in a virtual machine. Used in <link to="IMachine::audioAdapter" />.
     8617        The IAudioAdapter interface represents the virtual audio adapter of
     8618        the virtual machine. Used in <link to="IMachine::audioAdapter"/>.
    85258619    </desc>
    85268620    <attribute name="enabled" type="boolean">
     
    88768970     >
    88778971    <desc>
    8878       Serialization primitive for virtual machines.
    8879 
    8880       Within VirtualBox, any time one wishes to manipulate a virtual machine,
    8881       an instance of ISession is required. One first creates a session
    8882       object locally and then passes it with the method call that initiates
    8883       the machine manipulation. The session serves several purposes: it
    8884       identifies to the inter-process VirtualBox code which process is currently
    8885       working with a virtual machine, and it ensures that there are no
    8886       incompatible requests from several processes for the same virtual machine.
    8887 
    8888       For example, to start a virtual machine, one would call
    8889       <link to="IVirtualBox::openRemoteSession" />, which requires a session
    8890       object as its first parameter. This session then identifies the caller
    8891       and makes sure that no other process attempts to manipulate the virtual
    8892       machine's parameters while it is running.
    8893 
    8894       As another example, to manipulate machine settings, one needs to
    8895       open a direct session on the machine first by calling
    8896       <link to="IVirtualBox::openSession" />. This prevents the machine from
    8897       being changed by other processes.
    8898 
    8899       In regular COM C++ client code, one can simply create a session object,
    8900       for example by calling <tt>createLocalObject().</tt>
     8972      The ISession interface represents a serialization primitive for virtual
     8973      machines.
     8974
     8975      Within VirtualBox, every time one wishes to manipulate a virtual machine
     8976      (for example, change its settings or start execution), an instance of
     8977      the ISession interface is required. One first creates a local session
     8978      object that implements the ISession interface and then passes the
     8979      created object with the method call that opens the given session and
     8980      thus initiates the machine manipulation. The session serves several
     8981      purposes: it identifies to the inter-process VirtualBox code which
     8982      process is currently working with the virtual machine, and it ensures
     8983      that there are no incompatible requests from several processes for the
     8984      same virtual machine.
     8985
     8986      When using the COM API directly, an object of the Session class from the
     8987      VirtualBox type library needs to be created. This object will then act
     8988      as a local session object in further calls to open a session.
    89018989
    89028990      In the webservice, the session manager creates one session object during
     
    89048992      reference to that session object can be retrieved by calling
    89058993      <link to="IWebsessionManager::getSessionObject" />.
     8994
     8995      To start a virtual machine in a separate process, one would call
     8996      <link to="IVirtualBox::openRemoteSession"/>, which requires a session
     8997      object as its first parameter. This session then identifies the caller
     8998      and lets him control the started machine (for example, pause machine
     8999      execution or power it down) as well as be notified about machine
     9000      execution state changes.
     9001
     9002      To alter machine settings, or to start machine execution within its own
     9003      process, one needs to open a direct session for the machine first by
     9004      calling <link to="IVirtualBox::openSession"/>. Once the direct session
     9005      is successfully opened within one process, no any other process may open
     9006      a direct session for the same machine as long as the successful direct
     9007      session remains open. This prevents the machine from being changed by
     9008      other processes while it is running or while the machine is being
     9009      configured.
     9010
     9011      One also can attach to an existing direct session alreay opened by
     9012      another process (for example, in order to send a control request to the
     9013      virtual machine such as the pause or the reset request). This is done by
     9014      calling <link to="IVirtualBox::openExistingSession"/>.
     9015
     9016      In regular COM C++ client code, one can simply create a session object,
     9017      for example by calling <tt>createLocalObject().</tt>
     9018
     9019      <note>
     9020        Unless you are trying to write a new VirtualBox front-end that
     9021        performs direct machine execution (like the VirtualBox or VBoxSDL
     9022        frontends), don't call <link to="IConsole::powerUp"/> in a direct
     9023        session opened by <link to="IVirtualBox::openSession"/> and use this
     9024        session only to change virtual machine settings. If you simply want to
     9025        start virtual machine execution using one of the existing frontends
     9026        (for example the VirtualBox GUI frontend), use
     9027        <link to="IVirtualBox::openRemoteSession"/>. In the latter case, on
     9028        sucess, the machine will be powered up for you by the front-end so you
     9029        don't need to call <link to="IConsole::powerUp"/> too.
     9030      </note>
    89069031    </desc>
    89079032
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette