Changeset 80552 in vbox
- Timestamp:
- Sep 2, 2019 1:16:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r80551 r80552 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)); 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); 1342 1353 } 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);1353 1354 } 1354 1355 } 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->State, sizeof(pClient->State), 1756 int rc = SSMR3PutStructEx(pSSM, &pClient->State, sizeof(pClient->State), 1757 1757 0 /*fFlags*/, &g_aClipboardClientDataFields[0], NULL); 1758 1758 AssertRCReturn(rc, rc);
Note:
See TracChangeset
for help on using the changeset viewer.