Changeset 14554 in vbox
- Timestamp:
- Nov 25, 2008 8:40:18 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 39846
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r14313 r14554 1499 1499 1500 1500 if (mMachineState != MachineState_Running) 1501 return setError ( E_FAIL, tr ("Cannot pause the machine as it is "1502 "not running (machine state: %d)"),1503 1501 return setError (VBOX_E_INVALID_VM_STATE, 1502 tr ("Cannot pause the machine as it is not running " 1503 "(machine state: %d)"), mMachineState); 1504 1504 1505 1505 /* protect mpVM */ … … 1515 1515 1516 1516 HRESULT rc = VBOX_SUCCESS (vrc) ? S_OK : 1517 setError ( E_FAIL,1517 setError (VBOX_E_VM_ERROR, 1518 1518 tr ("Could not suspend the machine execution (%Rrc)"), vrc); 1519 1519 … … 3852 3852 } 3853 3853 if (mCallbackData.mpsc.shape == NULL) 3854 3854 { 3855 3855 mCallbackData.mpsc.shape = (BYTE *) RTMemAllocZ (cb); 3856 3856 AssertReturnVoid (mCallbackData.mpsc.shape); 3857 3857 } 3858 3858 mCallbackData.mpsc.shapeSize = cb; 3859 3859 memcpy (mCallbackData.mpsc.shape, pShape, cb); -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r14521 r14554 167 167 </result> 168 168 169 <result name="VBOX_E_VM_ERROR" value="0x80BB0003"> 170 <desc> 171 Virtual machine error occurred attempting the operation. 172 </desc> 173 </result> 174 169 175 170 176 <!--
Note:
See TracChangeset
for help on using the changeset viewer.