Changeset 80847 in vbox for trunk/src/VBox/Main
- Timestamp:
- Sep 17, 2019 9:38:16 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 133417
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r80737 r80847 9257 9257 case ClipboardMode_Disabled: 9258 9258 LogRel(("Shared Clipboard: Mode: Off\n")); 9259 parm.u.uint32 = VBOX_SH ARED_CLIPBOARD_MODE_OFF;9259 parm.u.uint32 = VBOX_SHCL_MODE_OFF; 9260 9260 break; 9261 9261 case ClipboardMode_GuestToHost: 9262 9262 LogRel(("Shared Clipboard: Mode: Guest to Host\n")); 9263 parm.u.uint32 = VBOX_SH ARED_CLIPBOARD_MODE_GUEST_TO_HOST;9263 parm.u.uint32 = VBOX_SHCL_MODE_GUEST_TO_HOST; 9264 9264 break; 9265 9265 case ClipboardMode_HostToGuest: 9266 9266 LogRel(("Shared Clipboard: Mode: Host to Guest\n")); 9267 parm.u.uint32 = VBOX_SH ARED_CLIPBOARD_MODE_HOST_TO_GUEST;9267 parm.u.uint32 = VBOX_SHCL_MODE_HOST_TO_GUEST; 9268 9268 break; 9269 9269 case ClipboardMode_Bidirectional: 9270 9270 LogRel(("Shared Clipboard: Mode: Bidirectional\n")); 9271 parm.u.uint32 = VBOX_SH ARED_CLIPBOARD_MODE_BIDIRECTIONAL;9271 parm.u.uint32 = VBOX_SHCL_MODE_BIDIRECTIONAL; 9272 9272 break; 9273 9273 } 9274 9274 9275 int vrc = pVMMDev->hgcmHostCall("VBoxSharedClipboard", VBOX_SH ARED_CLIPBOARD_HOST_FN_SET_MODE, 1, &parm);9275 int vrc = pVMMDev->hgcmHostCall("VBoxSharedClipboard", VBOX_SHCL_HOST_FN_SET_MODE, 1, &parm); 9276 9276 if (RT_FAILURE(vrc)) 9277 9277 LogRel(("Shared Clipboard: Error changing mode: %Rrc\n", vrc)); -
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r80729 r80847 3071 3071 VBOXHGCMSVCPARM parm; 3072 3072 HGCMSvcSetU32(&parm, !i_useHostClipboard()); 3073 rc = SHAREDCLIPBOARDINST()->hostCall(VBOX_SH ARED_CLIPBOARD_HOST_FN_SET_HEADLESS, 1, &parm);3073 rc = SHAREDCLIPBOARDINST()->hostCall(VBOX_SHCL_HOST_FN_SET_HEADLESS, 1, &parm); 3074 3074 if (RT_FAILURE(rc)) 3075 3075 LogRel(("Shared Clipboard: Unable to set initial headless mode, rc=%Rrc\n", rc));
Note:
See TracChangeset
for help on using the changeset viewer.