VirtualBox

Changeset 82881 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 27, 2020 5:59:52 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard: Ditched SHCLDATABLOCK [build fix]. bugref:9437

Location:
trunk/src/VBox/HostServices/SharedClipboard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-win.cpp

    r82880 r82881  
    729729
    730730int ShClSvcImplReadData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx,
    731                         SHCLFORMAT uFormat, uint32_t cbData, void *pvData, uint32_t *pcbActual)
     731                        SHCLFORMAT uFormat, void *pvData, uint32_t cbData, uint32_t *pcbActual)
    732732{
    733733    AssertPtrReturn(pClient,             VERR_INVALID_POINTER);
     
    841841
    842842int ShClSvcImplWriteData(PSHCLCLIENT pClient, PSHCLCLIENTCMDCTX pCmdCtx,
    843                          SHCLFORMAT uFormat, uint32_t cbData, void *pvData)
     843                         SHCLFORMAT uFormat, void *pvData, uint32_t cbData)
    844844{
    845845    LogFlowFuncEnter();
    846846
    847     int rc = ShClSvcDataReadSignal(pClient, pCmdCtx, uFormat, cbData, pvData);
     847    int rc = ShClSvcDataReadSignal(pClient, pCmdCtx, uFormat, pvData, cbData);
    848848
    849849    LogFlowFuncLeaveRC(rc);
  • trunk/src/VBox/HostServices/SharedClipboard/testcase/tstClipboardServiceHost.cpp

    r82880 r82881  
    307307int ShClSvcImplConnect(PSHCLCLIENT, bool) { return VINF_SUCCESS; }
    308308int ShClSvcImplFormatAnnounce(PSHCLCLIENT, PSHCLCLIENTCMDCTX, PSHCLFORMATDATA) { AssertFailed(); return VINF_SUCCESS; }
    309 int ShClSvcImplReadData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT uFormat, uint32_t cbData, void *pvData, unsigned int *) { AssertFailed(); return VERR_WRONG_ORDER; }
    310 int ShClSvcImplWriteData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT uFormat, uint32_t cbData, void *pvData) { AssertFailed(); return VINF_SUCCESS; }
     309int ShClSvcImplReadData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT, void *, uint32_t, unsigned int *) { AssertFailed(); return VERR_WRONG_ORDER; }
     310int ShClSvcImplWriteData(PSHCLCLIENT, PSHCLCLIENTCMDCTX, SHCLFORMAT, void *, uint32_t) { AssertFailed(); return VINF_SUCCESS; }
    311311int ShClSvcImplSync(PSHCLCLIENT) { return VINF_SUCCESS; }
    312312
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette