Changeset 45190 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 26, 2013 10:59:17 AM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp
r45158 r45190 284 284 else if (!strcmp(a->argv[1], "keyboardputscancode")) 285 285 { 286 ComPtr<IKeyboard> keyboard; 287 CHECK_ERROR_BREAK(console, COMGETTER(Keyboard)(keyboard.asOutParam())); 286 ComPtr<IKeyboard> pKeyboard; 287 CHECK_ERROR_BREAK(console, COMGETTER(Keyboard)(pKeyboard.asOutParam())); 288 if (!pKeyboard) 289 { 290 RTMsgError("Guest not running"); 291 rc = E_FAIL; 292 break; 293 } 288 294 289 295 if (a->argc <= 1 + 1) … … 329 335 com::SafeArray<LONG> saScancodes(llScancodes); 330 336 ULONG codesStored = 0; 331 CHECK_ERROR_BREAK( keyboard, PutScancodes(ComSafeArrayAsInParam(saScancodes),337 CHECK_ERROR_BREAK(pKeyboard, PutScancodes(ComSafeArrayAsInParam(saScancodes), 332 338 &codesStored)); 333 339 if (codesStored < saScancodes.size()) … … 1003 1009 if (!pDisplay) 1004 1010 { 1005 RTMsgError(" Cannot send a video mode hint without a display");1011 RTMsgError("Guest not running"); 1006 1012 rc = E_FAIL; 1007 1013 break; … … 1310 1316 if (!pDisplay) 1311 1317 { 1312 RTMsgError(" Cannot take a screenshot without a display");1318 RTMsgError("Guest not running"); 1313 1319 rc = E_FAIL; 1314 1320 break; -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r45022 r45190 268 268 #endif 269 269 " [--guestmemoryballoon <balloonsize in MB>]\n" 270 " [--gueststatisticsinterval <seconds>]\n"271 270 " [--audio none|null", SEP); 272 271 if (fWin) … … 446 445 " natpf<1-N> delete <rulename> |\n" 447 446 " guestmemoryballoon <balloonsize in MB> |\n" 448 " gueststatisticsinterval <seconds> |\n"449 447 " usbattach <uuid>|<address> |\n" 450 448 " usbdetach <uuid>|<address> |\n"
Note:
See TracChangeset
for help on using the changeset viewer.