Changeset 14569 in vbox for trunk/src/VBox/Main
- Timestamp:
- Nov 25, 2008 1:04:37 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r14568 r14569 1533 1533 1534 1534 if (mMachineState != MachineState_Paused) 1535 return setError ( E_FAIL, tr ("Cannot resume the machine as it is "1536 "not paused (machine state: %d)"),1537 1535 return setError (VBOX_E_INVALID_VM_STATE, 1536 tr ("Cannot resume the machine as it is not paused " 1537 "(machine state: %d)"), mMachineState); 1538 1538 1539 1539 /* protect mpVM */ … … 1553 1553 1554 1554 HRESULT rc = VBOX_SUCCESS (vrc) ? S_OK : 1555 setError ( E_FAIL,1555 setError (VBOX_E_VM_ERROR, 1556 1556 tr ("Could not resume the machine execution (%Rrc)"), vrc); 1557 1557 … … 1571 1571 1572 1572 if (mMachineState != MachineState_Running) 1573 return setError ( E_FAIL, tr ("Cannot power off the machine as it is "1574 "not running (machine state: %d)"),1575 1573 return setError (VBOX_E_INVALID_VM_STATE, 1574 tr ("Cannot power off the machine as it is not running " 1575 "(machine state: %d)"), mMachineState); 1576 1576 1577 1577 /* protect mpVM */ … … 1590 1590 1591 1591 HRESULT rc = VBOX_SUCCESS (vrc) ? S_OK : 1592 setError ( E_FAIL,1592 setError (VBOX_E_PDM_ERROR, 1593 1593 tr ("Controlled power off failed (%Rrc)"), vrc); 1594 1594 -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r14568 r14569 185 185 </result> 186 186 187 <result name="VBOX_E_PDM_ERROR" value="0x80BB0006"> 188 <desc> 189 Pluggable Device Manager error. 190 </desc> 191 </result> 192 187 193 <!-- 188 194 // all common enums
Note:
See TracChangeset
for help on using the changeset viewer.