Changeset 78900 in vbox
- Timestamp:
- May 31, 2019 3:46:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r78899 r78900 5373 5373 || mMachineState == MachineState_Teleporting 5374 5374 || mMachineState == MachineState_LiveSnapshotting) 5375 i_changeClipboardMode(aClipboardMode); 5375 { 5376 int vrc = i_changeClipboardMode(aClipboardMode); 5377 if (RT_FAILURE(vrc)) 5378 rc = E_FAIL; /** @todo r=andy Set error info here? */ 5379 } 5376 5380 else 5377 5381 rc = i_setInvalidMachineStateError(); … … 9257 9261 int Console::i_changeClipboardMode(ClipboardMode_T aClipboardMode) 9258 9262 { 9263 #ifdef VBOX_WITH_SHARED_CLIPBOARD 9259 9264 VMMDev *pVMMDev = m_pVMMDev; 9260 9265 AssertPtrReturn(pVMMDev, VERR_INVALID_POINTER); … … 9284 9289 } 9285 9290 9286 int rc = pVMMDev->hgcmHostCall("VBoxSharedClipboard", VBOX_SHARED_CLIPBOARD_HOST_FN_SET_MODE, 1, &parm); 9287 if (RT_FAILURE(rc)) 9288 LogRel(("Shared Clipboard: Error changing mode: %Rrc\n", rc)); 9289 9290 return rc; 9291 int vrc = pVMMDev->hgcmHostCall("VBoxSharedClipboard", VBOX_SHARED_CLIPBOARD_HOST_FN_SET_MODE, 1, &parm); 9292 if (RT_FAILURE(vrc)) 9293 LogRel(("Shared Clipboard: Error changing mode: %Rrc\n", vrc)); 9294 9295 return vrc; 9296 #else 9297 return VERR_NOT_IMPLEMENTED; 9298 #endif 9291 9299 } 9292 9300
Note:
See TracChangeset
for help on using the changeset viewer.