VirtualBox

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


Ignore:
Timestamp:
May 1, 2012 6:14:46 PM (13 years ago)
Author:
vboxsync
Message:

use openMedium instead of findMedium

File:
1 edited

Legend:

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

    r41049 r41105  
    19571957      <param name="medium" type="IMedium" dir="return">
    19581958        <desc>Opened medium object.</desc>
    1959       </param>
    1960     </method>
    1961 
    1962     <method name="findMedium">
    1963       <desc>
    1964         Returns a medium of the given type that uses the given fully qualified
    1965         location or UUID to store medium data.
    1966 
    1967         The given medium must be known to this VirtualBox installation, i.e.
    1968         it must be previously created by <link to="#createHardDisk"/> or opened
    1969         by <link to="#openMedium"/>.
    1970 
    1971         The search is done by comparing the value of the @a location argument to
    1972         the <link to="IMedium::location"/> and <link to="IMedium::id" />
    1973         attributes of each known medium.
    1974 
    1975         On case sensitive file systems, a case sensitive comparison is performed,
    1976         otherwise the case of symbols in the file path is ignored.
    1977 
    1978         <result name="VBOX_E_OBJECT_NOT_FOUND">
    1979           No medium object matching @a location found.
    1980         </result>
    1981       </desc>
    1982       <param name="location" type="wstring" dir="in">
    1983         <desc>What to search for. This can either be the UUID or the location string of an open medium.</desc>
    1984       </param>
    1985       <param name="type" type="DeviceType" dir="in">
    1986         <desc>Device type (must be HardDisk, DVD or Floppy)</desc>
    1987       </param>
    1988       <param name="medium" type="IMedium" dir="return">
    1989         <desc>Medium object, if found.</desc>
    19901959      </param>
    19911960    </method>
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