VirtualBox

Changeset 14842 in vbox for trunk


Ignore:
Timestamp:
Dec 1, 2008 9:40:05 AM (16 years ago)
Author:
vboxsync
Message:

s/VBOX_E_OBJECT_IN_USE/VBOX_E_INVALID_OBJECT_STATE/g
as suggested by dmik.

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

Legend:

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

    r14783 r14842  
    18611861
    18621862    if (m.backRefs.size() != 0)
    1863         return setError (VBOX_E_OBJECT_IN_USE,
     1863        return setError (VBOX_E_INVALID_OBJECT_STATE,
    18641864            tr ("Hard disk '%ls' is attached to %d virtual machines"),
    18651865                m.locationFull.raw(), m.backRefs.size());
     
    20162016            if (it->snapshotIds.size() == 0)
    20172017            {
    2018                 return setError (VBOX_E_OBJECT_IN_USE,
     2018                return setError (VBOX_E_INVALID_OBJECT_STATE,
    20192019                    tr ("Hard disk '%ls' is attached to a virtual machine "
    20202020                        "with UUID {%RTuuid}. No differencing hard disks "
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r14841 r14842  
    304304  </result>
    305305
    306   <result name="VBOX_E_OBJECT_IN_USE" value="0x80BB0007">
     306  <result name="VBOX_E_INVALID_OBJECT_STATE" value="0x80BB0007">
    307307    <desc>
    308        Operation prohibited because object is in use.
     308       Current object state prohibits operation.
    309309    </desc>
    310310  </result>
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