VirtualBox

Changeset 14947 in vbox


Ignore:
Timestamp:
Dec 3, 2008 2:55:29 PM (16 years ago)
Author:
vboxsync
Message:

Revive VBOX_E_OBJECT_IN_USE for deleteStorage as discussed with dmik.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HardDisk2Impl.cpp

    r14931 r14947  
    18861886
    18871887    if (m.backRefs.size() != 0)
    1888         return setError (VBOX_E_INVALID_OBJECT_STATE,
     1888        return setError (VBOX_E_OBJECT_IN_USE,
    18891889            tr ("Hard disk '%ls' is attached to %d virtual machines"),
    18901890                m.locationFull.raw(), m.backRefs.size());
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r14934 r14947  
    334334  </result>
    335335
     336  <result name="VBOX_E_OBJECT_IN_USE" value="0x80BB000C">
     337    <desc>
     338      Object being in use prohibits operation.
     339    </desc>
     340  </result>
     341
    336342  <!--
    337343    Note that src/VBox/Runtime/common/err/errmsgvboxcom.xsl will ignore
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