Changeset 19841 in vbox
- Timestamp:
- May 19, 2009 7:27:30 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 47502
- Location:
- trunk/src/VBox/HostServices/SharedClipboard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxClipboard.h
r18633 r19841 51 51 52 52 struct { 53 VBOXHGCMCALLHANDLE callHandle; 54 VBOXHGCMSVCPARM *paParms; 55 } asyncRead; 56 57 struct { 53 58 void *pv; 54 59 uint32_t cb; … … 68 73 69 74 void vboxSvcClipboardReportMsg (VBOXCLIPBOARDCLIENTDATA *pClient, uint32_t u32Msg, uint32_t u32Formats); 75 76 /** Complete a request from the guest for clipboard data that we decided 77 * to handle asynchronously. */ 78 void vboxSvcClipboardCompleteReadData(VBOXHGCMCALLHANDLE callHandle, VBOXHGCMSVCPARM *paParms, int rc, uint32_t cbActual); 70 79 71 80 -
trunk/src/VBox/HostServices/SharedClipboard/service.cpp
r13860 r19841 495 495 else 496 496 { 497 pClient->asyncRead.callHandle = callHandle; 498 pClient->asyncRead.paParms = paParms; 497 499 rc = vboxClipboardReadData (pClient, u32Format, pv, cb, &cbActual); 498 500 } 499 501 500 if (RT_SUCCESS (rc)) 502 if (rc == VINF_HGCM_ASYNC_EXECUTE) 503 fAsynchronousProcessing = true; 504 else if (RT_SUCCESS (rc)) 501 505 { 502 506 VBoxHGCMParmUInt32Set (&paParms[2], cbActual); … … 574 578 g_pHelpers->pfnCallComplete (callHandle, rc); 575 579 } 580 } 581 582 void vboxSvcClipboardCompleteReadData(VBOXHGCMCALLHANDLE callHandle, VBOXHGCMSVCPARM *paParms, int rc, uint32_t cbActual) 583 { 584 VBoxHGCMParmUInt32Set (&paParms[2], cbActual); 585 g_pHelpers->pfnCallComplete (callHandle, rc); 576 586 } 577 587
Note:
See TracChangeset
for help on using the changeset viewer.