- Timestamp:
- Sep 28, 2021 1:10:21 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r90805 r91435 1407 1407 int ShClSvcHostReportFormats(PSHCLCLIENT pClient, SHCLFORMATS fFormats) 1408 1408 { 1409 /* 1410 * Check if the service mode allows this operation and whether the guest is 1411 * supposed to be reading from the host. Otherwise, silently ignore reporting 1412 * formats and return VINF_SUCCESS in order to do not trigger client 1413 * termination in svcConnect(). 1414 */ 1415 uint32_t uMode = ShClSvcGetMode(); 1416 if ( uMode == VBOX_SHCL_MODE_BIDIRECTIONAL 1417 || uMode == VBOX_SHCL_MODE_HOST_TO_GUEST) 1418 { /* likely */ } 1419 else 1420 return VINF_SUCCESS; 1421 1409 1422 AssertPtrReturn(pClient, VERR_INVALID_POINTER); 1410 1423
Note:
See TracChangeset
for help on using the changeset viewer.