Changeset 83624 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Apr 8, 2020 4:29:25 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137054
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp
r82880 r83624 253 253 * 254 254 * @returns VBox status code. 255 * @param pCtx Shared Clipboard command context to use for the connection.256 * @param pFormats Where to store the received formats from the host.257 * /258 static int vbglR3ClipboardFormatsReportRecv(PVBGLR3SHCLCMDCTX pCtx, PSHCLFORMATDATA pFormats) 259 { 260 AssertPtrReturn(pCtx, VERR_INVALID_POINTER); 261 AssertPtrReturn(p Formats, VERR_INVALID_POINTER);262 263 pFormats->fFlags = 0; 264 pFormats->Formats = 0;255 * @param pCtx Shared Clipboard command context to use for the 256 * connection. 257 * @param pfFormats Where to store the received formats from the host. 258 */ 259 static int vbglR3ClipboardFormatsReportRecv(PVBGLR3SHCLCMDCTX pCtx, PSHCLFORMATS pfFormats) 260 { 261 AssertPtrReturn(pCtx, VERR_INVALID_POINTER); 262 AssertPtrReturn(pfFormats, VERR_INVALID_POINTER); 263 264 *pfFormats = 0; 265 265 266 266 struct … … 278 278 if (RT_SUCCESS(rc)) 279 279 { 280 rc = Msg.f32Formats.GetUInt32( &pFormats->Formats);280 rc = Msg.f32Formats.GetUInt32(pfFormats); 281 281 AssertRC(rc); 282 282 } … … 2332 2332 case VBOX_SHCL_HOST_MSG_FORMATS_REPORT: 2333 2333 pEvent->enmType = VBGLR3CLIPBOARDEVENTTYPE_REPORT_FORMATS; 2334 pEvent->u. ReportedFormats.Formats = cParms;2334 pEvent->u.fReportedFormats = cParms; 2335 2335 break; 2336 2336 … … 2372 2372 case VBOX_SHCL_HOST_MSG_FORMATS_REPORT: 2373 2373 { 2374 rc = vbglR3ClipboardFormatsReportRecv(pCtx, &pEvent->u. ReportedFormats);2374 rc = vbglR3ClipboardFormatsReportRecv(pCtx, &pEvent->u.fReportedFormats); 2375 2375 if (RT_SUCCESS(rc)) 2376 2376 pEvent->enmType = VBGLR3CLIPBOARDEVENTTYPE_REPORT_FORMATS; … … 2432 2432 case VBOX_SHCL_HOST_MSG_FORMATS_REPORT: 2433 2433 pEvent->enmType = VBGLR3CLIPBOARDEVENTTYPE_REPORT_FORMATS; 2434 pEvent->u. ReportedFormats.Formats = cParms;2434 pEvent->u.fReportedFormats = cParms; 2435 2435 break; 2436 2436
Note:
See TracChangeset
for help on using the changeset viewer.