VirtualBox

Changeset 18107 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Mar 20, 2009 10:47:42 AM (16 years ago)
Author:
vboxsync
Message:

IMedium: improve wording; correct typos.

File:
1 edited

Legend:

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

    r18025 r18107  
    81128112    <desc>
    81138113      The IMedium interface is a common interface for all objects representing
    8114       virtual media such as hard disks, DVD images.
     8114      virtual media such as hard disks, CD/DVD images and floppy images.
    81158115
    81168116      Each medium is associated with a storage unit (such as a file on the host
     
    81688168
    81698169      The given medium (with the created storage unit) is considered to be
    8170       <i>accessible</i> when its storage unit can be successfully read from.
     8170      <i>accessible</i> when its storage unit can be read.
    81718171      Accessible media are indicated by the <link to="MediaState_Created"/>
    81728172      value of the <link to="#state"/> attribute. When the storage unit cannot
     
    82328232        Current media state. Inspect <link to="MediaState"/> values for details.
    82338233
    8234         Reading this attribute may take long time because a new accessibility
    8235         check of the storage unit is performed every time the attribute is read.
     8234        Reading this attribute may take a long time because an accessibility
     8235        check of the storage unit is performed each time the attribute is read.
    82368236        This check may cause a significant delay if the storage unit of the
    82378237        given medium is, for example, a file located on a network share which is
     
    82498249        accessibility check in this case.
    82508250
    8251         Note that not all media states are applicable to certain media types.
     8251        Note that not all media states are applicable to all media types.
    82528252        For example, states <link to="MediaState_NotCreated"/>,
    82538253        <link to="MediaState_LockedWrite"/>, <link to="MediaState_Creating"/>,
     
    82628262
    82638263        The format of the location string is media type specific. For media
    8264         types that use regular files in a host's file system, the location
    8265         string is just a full file name.
     8264        types using regular files in a host's file system, the location
     8265        string is the full file name.
    82668266
    82678267        Some media types may support changing the storage unit location by
     
    82908290
    82918291        For example, for locations that are regular files in the host's file
    8292         system, the value of this attribute is just a file name (+ extension),
     8292        system, the value of this attribute is just the file name (+ extension),
    82938293        without the path specification.
    82948294
     
    83448344      <desc>
    83458345        Returns an array of UUIDs of all snapshots of the given machine where
    8346         this medium is attached to it.
     8346        this medium is attached to.
    83478347
    83488348        If the medium is attached to the machine in the current state, then the
     
    83568356        The returned array may be <tt>null</tt> if this medium is not attached
    83578357        to the given machine at all, neither in the current state nor in one of
    8358         snapshots.
     8358        the snapshots.
    83598359      </desc>
    83608360      <param name="machineId" type="uuid" dir="in">
     
    84248424        Cancels the read lock previously set by <link to="#lockRead"/>.
    84258425
    8426         Either on success or on failure, this method returns the current state
     8426        For both, success and failure, this method returns the current state
    84278427        of the medium <b>after</b> the operation.
    84288428
     
    84468446
    84478447        The write lock, as opposed to <link to="#lockRead"/>, is
    8448         exclusive: there may be only one client that holds a write lock
     8448        exclusive: there may be only one client holding a write lock
    84498449        and there may be no read locks while the write lock is held.
    84508450
     
    84538453        of its properties are up-to-date. Any method that changes the
    84548454        properties of this medium or contents of the storage unit will
    8455         return an error ((unless explicitly stated otherwise) and an
    8456         attempt to start a virtual machine that wants to modify or to
    8457         read the medium will also fail.
     8455        return an error (unless explicitly stated otherwise) and an
     8456        attempt to start a virtual machine wanting to modify or to
     8457        read the medium will fail.
    84588458
    84598459        When the virtual machine is started up, it locks for writing all
    8460         media it uses to write data to. If some media cannot be locked
     8460        media it uses to write data to. If any medium could not be locked
    84618461        for writing, the startup procedure will fail.
    84628462
    84638463        The medium locked for writing must be unlocked using the <link
    84648464        to="#unlockWrite"/> method. Calls to <link to="#lockWrite"/>
    8465         can <b>not</b> be nested and must be followed by a paired <link
    8466         to="#unlockWrite"/> call.
     8465        can <b>not</b> be nested and must be followed by a<link
     8466        to="#unlockWrite"/> call before the next lockWrite call.
    84678467
    84688468        This method sets the media state to <link
     
    84718471        to="MediaState_Inaccessible"/>. As you can see, inaccessible
    84728472        media can be locked too. This is not an error; this method
    8473         performs a logical lock that prevents modifications of this
     8473        performs a logical lock preventing modifications of this
    84748474        media through the VirtualBox API, not a physical lock of the
    84758475        underlying storage unit.
    84768476
    8477         Either on success or on failure, this method returns the current
     8477        For both, success and failure, this method returns the current
    84788478        state of the medium <b>before</b> the operation.
    84798479
     
    84958495        Cancels the write lock previously set by <link to="#lockWrite"/>.
    84968496
    8497         Either on success or on failure, this method returns the current
     8497        For both, success and failure, this method returns the current
    84988498        state of the medium <b>after</b> the operation.
    84998499
     
    97879787        </result>
    97889788        <result name="VBOX_E_OBJECT_NOT_FOUND">
    9789           Could not find a CD/DVD image matching @a imageID.
     9789          Could not find a CD/DVD image matching @a imageId.
    97909790        </result>
    97919791        <result name="VBOX_E_INVALID_OBJECT_STATE">
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