Changeset 80551 in vbox
- Timestamp:
- Sep 2, 2019 1:06:09 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 133058
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r80473 r80551 1333 1333 #endif /* VBOX_WITH_SHARED_CLIPBOARD_URI_LIST */ 1334 1334 { 1335 if (g_pfnExtension) 1336 { 1337 VBOXCLIPBOARDEXTPARMS parms; 1338 RT_ZERO(parms); 1339 parms.u32Format = u32Formats; 1340 1341 g_pfnExtension(g_pvExtension, VBOX_CLIPBOARD_EXT_FN_FORMAT_ANNOUNCE, &parms, sizeof (parms)); 1342 } 1343 1344 VBOXCLIPBOARDCLIENTCMDCTX cmdCtx; 1345 RT_ZERO(cmdCtx); 1346 1347 SHAREDCLIPBOARDFORMATDATA formatData; 1348 RT_ZERO(formatData); 1349 1350 formatData.uFormats = u32Formats; 1351 1352 rc = VBoxClipboardSvcImplFormatAnnounce(pClient, &cmdCtx, &formatData); 1335 if (g_pfnExtension) 1336 { 1337 VBOXCLIPBOARDEXTPARMS parms; 1338 RT_ZERO(parms); 1339 parms.u32Format = u32Formats; 1340 1341 g_pfnExtension(g_pvExtension, VBOX_CLIPBOARD_EXT_FN_FORMAT_ANNOUNCE, &parms, sizeof (parms)); 1353 1342 } 1343 1344 VBOXCLIPBOARDCLIENTCMDCTX cmdCtx; 1345 RT_ZERO(cmdCtx); 1346 1347 SHAREDCLIPBOARDFORMATDATA formatData; 1348 RT_ZERO(formatData); 1349 1350 formatData.uFormats = u32Formats; 1351 1352 rc = VBoxClipboardSvcImplFormatAnnounce(pClient, &cmdCtx, &formatData); 1354 1353 } 1355 1354 } 1355 } 1356 1356 } 1357 1357 … … 1754 1754 with the high bit set. */ 1755 1755 SSMR3PutU32(pSSM, UINT32_C(0x80000002)); 1756 int rc = SSMR3PutStructEx(pSSM, pClient, sizeof(*pClient), 0 /*fFlags*/, &g_aClipboardClientDataFields[0], NULL); 1756 int rc = SSMR3PutStructEx(pSSM, &pClient->State, sizeof(pClient->State), 1757 0 /*fFlags*/, &g_aClipboardClientDataFields[0], NULL); 1757 1758 AssertRCReturn(rc, rc); 1758 1759 … … 1786 1787 if (lenOrVer == UINT32_C(0x80000002)) 1787 1788 { 1788 rc = SSMR3GetStructEx(pSSM, pClient, sizeof(*pClient), 0 /*fFlags*/, &g_aClipboardClientDataFields[0], NULL); 1789 rc = SSMR3GetStructEx(pSSM, &pClient->State, sizeof(pClient->State), 1790 0 /*fFlags*/, &g_aClipboardClientDataFields[0], NULL); 1789 1791 AssertRCReturn(rc, rc); 1790 1792 }
Note:
See TracChangeset
for help on using the changeset viewer.