Changeset 92739 in vbox for trunk/src/VBox
- Timestamp:
- Dec 3, 2021 4:16:14 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-win.cpp
r92735 r92739 194 194 } 195 195 196 SHCLEVENTID idEvent = 0;197 int rc = ShClSvcGuestDataRequest(pCtx->pClient, fFormat, & idEvent);196 PSHCLEVENT pEvent; 197 int rc = ShClSvcGuestDataRequest(pCtx->pClient, fFormat, &pEvent); 198 198 if (RT_SUCCESS(rc)) 199 199 { 200 200 PSHCLEVENTPAYLOAD pPayload; 201 rc = ShClEventWait( &pCtx->pClient->EventSrc, idEvent, 30 * 1000, &pPayload);201 rc = ShClEventWait(pEvent, 30 * 1000, &pPayload); 202 202 if (RT_SUCCESS(rc)) 203 203 { … … 206 206 } 207 207 208 ShClEventRelease( &pCtx->pClient->EventSrc, idEvent);208 ShClEventRelease(pEvent); 209 209 } 210 210
Note:
See TracChangeset
for help on using the changeset viewer.