Changeset 82525 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray
- Timestamp:
- Dec 9, 2019 7:48:38 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp
r82513 r82525 257 257 { 258 258 LogFunc(("WM_CLIPBOARDUPDATE: Reporting formats %#x\n", Formats.Formats)); 259 rc = VbglR3ClipboardReportFormats(pCtx->CmdCtx. uClientID, Formats.Formats);259 rc = VbglR3ClipboardReportFormats(pCtx->CmdCtx.idClient, Formats.Formats); 260 260 } 261 261 } … … 303 303 if ( RT_SUCCESS(rc) 304 304 && Formats.Formats != VBOX_SHCL_FMT_NONE) 305 rc = VbglR3ClipboardReportFormats(pCtx->CmdCtx. uClientID, Formats.Formats);305 rc = VbglR3ClipboardReportFormats(pCtx->CmdCtx.idClient, Formats.Formats); 306 306 } 307 307 else … … 647 647 648 648 /* Requested clipboard format is not available, send empty data. */ 649 VbglR3ClipboardWriteData(pCtx->CmdCtx. uClientID, VBOX_SHCL_FMT_NONE, NULL, 0);649 VbglR3ClipboardWriteData(pCtx->CmdCtx.idClient, VBOX_SHCL_FMT_NONE, NULL, 0); 650 650 } 651 651 … … 922 922 rc = SharedClipboardWinCtxInit(&pCtx->Win); 923 923 if (RT_SUCCESS(rc)) 924 rc = VbglR3ClipboardConnectEx(&pCtx->CmdCtx );924 rc = VbglR3ClipboardConnectEx(&pCtx->CmdCtx, VBOX_SHCL_GF_0_CONTEXT_ID); 925 925 if (RT_SUCCESS(rc)) 926 926 { … … 1004 1004 if (pCtx->CmdCtx.fUseLegacyProtocol) 1005 1005 { 1006 rc = VbglR3ClipboardGetHostMsgOld(pCtx->CmdCtx. uClientID, &uMsg, &uFormats);1006 rc = VbglR3ClipboardGetHostMsgOld(pCtx->CmdCtx.idClient, &uMsg, &uFormats); 1007 1007 if (RT_FAILURE(rc)) 1008 1008 { … … 1179 1179 /* Disconnect from the host service. 1180 1180 * This will also send a VBOX_SHCL_HOST_MSG_QUIT from the host so that we can break out from our message worker. */ 1181 VbglR3ClipboardDisconnect(pCtx->CmdCtx. uClientID);1182 pCtx->CmdCtx. uClientID= 0;1181 VbglR3ClipboardDisconnect(pCtx->CmdCtx.idClient); 1182 pCtx->CmdCtx.idClient = 0; 1183 1183 1184 1184 LogFlowFuncLeaveRC(VINF_SUCCESS); … … 1194 1194 1195 1195 /* Make sure that we are disconnected. */ 1196 Assert(pCtx->CmdCtx. uClientID== 0);1196 Assert(pCtx->CmdCtx.idClient == 0); 1197 1197 1198 1198 vboxClipboardDestroy(pCtx);
Note:
See TracChangeset
for help on using the changeset viewer.