Changeset 14934 in vbox for trunk/src/VBox/Main/idl
- Timestamp:
- Dec 3, 2008 10:39:39 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r14931 r14934 322 322 </result> 323 323 324 <result name="VBOX_E_XML_ERROR" value="0x80BB000A"> 325 <desc> 326 Invalid XML found. 327 </desc> 328 </result> 329 330 <result name="VBOX_E_INVALID_SESSION_STATE" value="0x80BB000B"> 331 <desc> 332 Current session state prohibits operation. 333 </desc> 334 </result> 335 324 336 <!-- 325 337 Note that src/VBox/Runtime/common/err/errmsgvboxcom.xsl will ignore … … 1787 1799 </note> 1788 1800 1789 <result name="VBOX_E_ FILE_ERROR">1790 Image conflicts with anotherin the media registry.1801 <result name="VBOX_E_INVALID_OBJECT_STATE"> 1802 CD/DVD image already exists in the media registry. 1791 1803 </result> 1792 1804 … … 1816 1828 installation, i.e. it must be previously opened by <link 1817 1829 to="#openDVDImage()"/>, or mounted to some known virtual machine. 1830 1831 <result name="VBOX_E_OBJECT_NOT_FOUND"> 1832 No matching DVD image found in the media registry. 1833 </result> 1834 1818 1835 </desc> 1819 1836 <param name="id" type="uuid" dir="in"> … … 1835 1852 The search is done by comparing the value of the @a location argument to 1836 1853 the <link to="IMedium::location"/> attribute of each known CD/DVD image. 1854 1855 The requested location can be a path relative to the 1856 <link to="IVirtualBox::homeFolder">VirtualBox home folder</link>. If 1857 only a file name without any path is given, the 1858 <link to="ISystemProperties::defaultHardDiskFolder"> default hard disk 1859 folder</link> will be prepended to the file name before searching. Note 1860 that on case sensitive file systems, a case sensitive comparison is 1861 performed, otherwise the case in the file path is ignored. 1862 1863 <result name="VBOX_E_FILE_ERROR"> 1864 Invalid image file location. 1865 </result> 1866 <result name="VBOX_E_OBJECT_NOT_FOUND"> 1867 No matching DVD image found in the media registry. 1868 </result> 1869 1870 </desc> 1871 <param name="location" type="wstring" dir="in"> 1872 <desc>CD/DVD image file path to look for.</desc> 1873 </param> 1874 <param name="image" type="IDVDImage2" dir="return"> 1875 <desc>Found CD/DVD image object.</desc> 1876 </param> 1877 </method> 1878 1879 <method name="openFloppyImage"> 1880 <desc> 1881 Opens a floppy image contained in the specified file of the supported 1882 format and assigns it the given UUID. 1883 1884 After the image is successfully opened by this method, it gets 1885 remembered by (known to) this VirtualBox installation and will be 1886 accessible through <link to="#getFloppyImage()"/> and 1887 <link to="#findFloppyImage()"/> methods. Remembered images are also 1888 returned as part of the <link to="#floppyImages"/> array and can be 1889 mounted to virtual machines. See IMedium for more details. 1890 1891 See <link to="IMedium::location"/> to get more details about the format 1892 of the location string. 1893 1894 <result name="VBOX_E_FILE_ERROR"> 1895 Floppy image specified by @a location not accessible. 1896 </result> 1897 <result name="VBOX_E_INVALID_OBJECT_STATE"> 1898 Floppy image already exists in the media registry. 1899 </result> 1900 1901 <note> 1902 Currently, only raw floppy images are supported by VirtualBox. 1903 </note> 1904 </desc> 1905 <param name="location" type="wstring" dir="in"> 1906 <desc> 1907 Full path to the file that contains a valid floppy image. 1908 </desc> 1909 </param> 1910 <param name="id" type="uuid" dir="in"> 1911 <desc> 1912 UUID to assign to the given image file within this VirtualBox 1913 installation. If an empty (null) UUID is specified, the system will 1914 randomly generate a new UUID. 1915 </desc> 1916 </param> 1917 <param name="image" type="IFloppyImage2" dir="return"> 1918 <desc>Opened floppy image object.</desc> 1919 </param> 1920 </method> 1921 1922 <method name="getFloppyImage"> 1923 <desc> 1924 Returns a floppy image with the given UUID. 1925 1926 The image with the given UUID must be known to this VirtualBox 1927 installation, i.e. it must be previously opened by <link 1928 to="#openFloppyImage()"/>, or mounted to some known virtual machine. 1929 1930 <result name="VBOX_E_OBJECT_NOT_FOUND"> 1931 No matching floppy image found in the media registry. 1932 </result> 1933 1934 </desc> 1935 <param name="id" type="uuid" dir="in"> 1936 <desc>UUID of the image to look for.</desc> 1937 </param> 1938 <param name="image" type="IFloppyImage2" dir="return"> 1939 <desc>Found floppy image object.</desc> 1940 </param> 1941 </method> 1942 1943 <method name="findFloppyImage"> 1944 <desc> 1945 Returns a floppy image with the given image location. 1946 1947 The image with the given UUID must be known to this VirtualBox 1948 installation, i.e. it must be previously opened by <link 1949 to="#openFloppyImage()"/>, or mounted to some known virtual machine. 1950 1951 The search is done by comparing the value of the @a location argument to 1952 the <link to="IMedium::location"/> attribute of each known floppy image. 1837 1953 1838 1954 The requested location can be a path relative to the … … 1843 1959 that on case sensitive file systems, a case sensitive comparison is 1844 1960 performed, otherwise the case of symbols in the file path is ignored. 1845 </desc> 1846 <param name="location" type="wstring" dir="in"> 1847 <desc>CD/DVD image file path to look for.</desc> 1848 </param> 1849 <param name="image" type="IDVDImage2" dir="return"> 1850 <desc>Found CD/DVD image object.</desc> 1851 </param> 1852 </method> 1853 1854 <method name="openFloppyImage"> 1855 <desc> 1856 Opens a floppy image contained in the specified file of the supported 1857 format and assigns it the given UUID. 1858 1859 After the image is successfully opened by this method, it gets 1860 remembered by (known to) this VirtualBox installation and will be 1861 accessible through <link to="#getFloppyImage()"/> and 1862 <link to="#findFloppyImage()"/> methods. Remembered images are also 1863 returned as part of the <link to="#floppyImages"/> array and can be 1864 mounted to virtual machines. See IMedium for more details. 1865 1866 See <link to="IMedium::location"/> to get more details about the format 1867 of the location string. 1868 1869 <note> 1870 Currently, only raw floppy images are supported by VirtualBox. 1871 </note> 1872 </desc> 1873 <param name="location" type="wstring" dir="in"> 1874 <desc> 1875 Full path to the file that contains a valid floppy image. 1876 </desc> 1877 </param> 1878 <param name="id" type="uuid" dir="in"> 1879 <desc> 1880 UUID to assign to the given image file within this VirtualBox 1881 installation. If an empty (null) UUID is specified, the system will 1882 randomly generate a new UUID. 1883 </desc> 1884 </param> 1885 <param name="image" type="IFloppyImage2" dir="return"> 1886 <desc>Opened floppy image object.</desc> 1887 </param> 1888 </method> 1889 1890 <method name="getFloppyImage"> 1891 <desc> 1892 Returns a floppy image with the given UUID. 1893 1894 The image with the given UUID must be known to this VirtualBox 1895 installation, i.e. it must be previously opened by <link 1896 to="#openFloppyImage()"/>, or mounted to some known virtual machine. 1897 </desc> 1898 <param name="id" type="uuid" dir="in"> 1899 <desc>UUID of the image to look for.</desc> 1900 </param> 1901 <param name="image" type="IFloppyImage2" dir="return"> 1902 <desc>Found floppy image object.</desc> 1903 </param> 1904 </method> 1905 1906 <method name="findFloppyImage"> 1907 <desc> 1908 Returns a floppy image with the given image location. 1909 1910 The image with the given UUID must be known to this VirtualBox 1911 installation, i.e. it must be previously opened by <link 1912 to="#openFloppyImage()"/>, or mounted to some known virtual machine. 1913 1914 The search is done by comparing the value of the @a location argument to 1915 the <link to="IMedium::location"/> attribute of each known floppy image. 1916 1917 The requested location can be a path relative to the 1918 <link to="IVirtualBox::homeFolder">VirtualBox home folder</link>. If 1919 only a file name without any path is given, the 1920 <link to="ISystemProperties::defaultHardDiskFolder"> default hard disk 1921 folder</link> will be prepended to the file name before searching. Note 1922 that on case sensitive file systems, a case sensitive comparison is 1923 performed, otherwise the case of symbols in the file path is ignored. 1961 1962 <result name="VBOX_E_FILE_ERROR"> 1963 Invalid image file location. 1964 </result> 1965 <result name="VBOX_E_OBJECT_NOT_FOUND"> 1966 No matching floppy image found in the media registry. 1967 </result> 1968 1924 1969 </desc> 1925 1970 <param name="location" type="wstring" dir="in"> … … 1945 1990 <link to="IGuestOSType::id"/> attribute which contains an identifier of 1946 1991 the guest OS this object describes. 1992 1993 <result name="E_INVALIDARG"> 1994 @a id is not a valid Guest OS type. 1995 </result> 1996 1947 1997 </desc> 1948 1998 <param name="id" type="wstring" dir="in"> … … 1960 2010 folders and starts sharing it. Refer to the description of 1961 2011 <link to="ISharedFolder"/> to read more about logical names. 2012 <note> 2013 In the current implementation, this operation is not 2014 implemented. 2015 </note> 1962 2016 </desc> 1963 2017 <param name="name" type="wstring" dir="in"> … … 1977 2031 created by <link to="#createSharedFolder"/> from the collection of 1978 2032 shared folders and stops sharing it. 2033 <note> 2034 In the current implementation, this operation is not 2035 implemented. 2036 </note> 1979 2037 </desc> 1980 2038 <param name="name" type="wstring" dir="in"> … … 1992 2050 nextKey (if there is any). @a nextValue is an optional parameter and 1993 2051 if supplied, the next key's value is returned in it. 2052 2053 <result name="VBOX_E_OBJECT_NOT_FOUND"> 2054 Extra data @a key not found. 2055 </result> 2056 1994 2057 </desc> 1995 2058 <param name="key" type="wstring" dir="in"> … … 2010 2073 If the requested data @a key does not exist, this function will 2011 2074 succeed and return @c NULL in the @a value argument. 2075 2076 <result name="VBOX_E_FILE_ERROR"> 2077 Settings file not accessible. 2078 </result> 2079 <result name="VBOX_E_XML_ERROR"> 2080 Could not parse the settings file. 2081 </result> 2082 2012 2083 </desc> 2013 2084 <param name="key" type="wstring" dir="in"> … … 2039 2110 change. 2040 2111 </note> 2112 2113 <result name="VBOX_E_FILE_ERROR"> 2114 Settings file not accessible. 2115 </result> 2116 <result name="VBOX_E_XML_ERROR"> 2117 Could not parse the settings file. 2118 </result> 2119 <result name="E_ACCESSDENIED"> 2120 Modification request refused. 2121 </result> 2122 2041 2123 </desc> 2042 2124 <param name="key" type="wstring" dir="in"> … … 2099 2181 <li>Close the session by calling <link to="ISession::close()"/>.</li> 2100 2182 </ol> 2183 2184 <result name="E_UNEXPECTED"> 2185 Virtual machine not registered. 2186 </result> 2187 <result name="E_ACCESSDENIED"> 2188 Process not started by OpenRemoteSession. 2189 </result> 2190 <result name="VBOX_E_INVALID_OBJECT_STATE"> 2191 Session already open or being opened. 2192 </result> 2193 <result name="VBOX_E_VM_ERROR"> 2194 Failed to assign machine to session. 2195 </result> 2196 2101 2197 </desc> 2102 2198 <param name="session" type="ISession" dir="in"> … … 2127 2223 that such prevent conflicting changes, one cannot open a remote session 2128 2224 for a VM that already has another open session (direct or remote), or 2129 is currently in the process of opening one (see <link to="IMachine::sessionState"/>). 2225 is currently in the process of opening one (see <link 2226 to="IMachine::sessionState"/>). 2130 2227 2131 2228 While the remote session still provides some level of control over the … … 2174 2271 2175 2272 <see>openExistingSession</see> 2273 2274 <result name="E_UNEXPECTED"> 2275 Virtual machine not registered. 2276 </result> 2277 <result name="E_INVALIDARG"> 2278 Invalid session type @a type. 2279 </result> 2280 <result name="VBOX_E_OBJECT_NOT_FOUND"> 2281 No machine matching @a machineId found. 2282 </result> 2283 <result name="VBOX_E_INVALID_OBJECT_STATE"> 2284 Session already open or being opened. 2285 </result> 2286 <result name="VBOX_E_IPRT_ERROR"> 2287 Launching process for machine failed. 2288 </result> 2289 <result name="VBOX_E_VM_ERROR"> 2290 Failed to assign machine to session. 2291 </result> 2292 2176 2293 </desc> 2177 2294 <param name="session" type="ISession" dir="in"> … … 2217 2334 doesn't have an open direct session. 2218 2335 </note> 2336 2337 <result name="E_UNEXPECTED"> 2338 Virtual machine not registered. 2339 </result> 2340 <result name="VBOX_E_OBJECT_NOT_FOUND"> 2341 No machine matching @a machineId found. 2342 </result> 2343 <result name="VBOX_E_INVALID_OBJECT_STATE"> 2344 Session already open or being opened. 2345 </result> 2346 <result name="VBOX_E_INVALID_SESSION_STATE"> 2347 Direct session state not Open. 2348 </result> 2349 <result name="VBOX_E_VM_ERROR"> 2350 Failed to get console object from direct session or assign 2351 machine to session. 2352 </result> 2219 2353 2220 2354 <see>openRemoteSession</see> … … 2241 2375 callback object will be called by VirtualBox when an appropriate 2242 2376 event occurs. 2377 2378 <result name="E_INVALIDARG"> 2379 Registering a @c NULL @a callback is pretty pointless, ain't it? 2380 <!-- See if someone is actually reading this and objects :-) --> 2381 </result> 2382 2243 2383 </desc> 2244 2384 <param name="callback" type="IVirtualBoxCallback" dir="in"> … … 2250 2390 <desc> 2251 2391 Unregisters the previously registered global VirtualBox callback. 2392 2393 <result name="E_INVALIDARG"> 2394 Specified @a callback not registered. 2395 </result> 2396 2252 2397 </desc> 2253 2398 <param name="callback" type="IVirtualBoxCallback" dir="in"> … … 2324 2469 </table> 2325 2470 2471 <note> 2472 This function is not implemented in the current version of the 2473 product. 2474 </note> 2326 2475 </desc> 2327 2476 <param name="what" type="wstring" dir="in"> … … 2355 2504 Normally, the global settings file is implicitly saved when a global 2356 2505 setting is changed. 2506 2507 <result name="VBOX_E_FILE_ERROR"> 2508 Settings file not accessible. 2509 </result> 2510 <result name="VBOX_E_XML_ERROR"> 2511 Could not parse the settings file. 2512 </result> 2513 2357 2514 </desc> 2358 2515 </method> … … 2398 2555 2399 2556 <see>settingsFileVersion</see> 2557 2558 <result name="VBOX_E_FILE_ERROR"> 2559 Settings file not accessible. 2560 </result> 2561 <result name="VBOX_E_XML_ERROR"> 2562 Could not parse the settings file. 2563 </result> 2564 <result name="VBOX_E_IPRT_ERROR"> 2565 Could not copy the settings file. 2566 </result> 2567 2400 2568 </desc> 2401 2569 <param name="bakFileName" type="wstring" dir="return">
Note:
See TracChangeset
for help on using the changeset viewer.