Changeset 100433 in vbox
- Timestamp:
- Jul 7, 2023 10:36:55 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp
r100429 r100433 93 93 *********************************************************************************************************************************/ 94 94 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 95 static DECLCALLBACK(void) vbtrShClTransferCreatedCallback(PSHCLTRANSFERCALLBACKCTX pCbCtx); 96 static DECLCALLBACK(void) vbtrShClTransferDestroyCallback(PSHCLTRANSFERCALLBACKCTX pCbCtx); 95 97 static DECLCALLBACK(void) vbtrShClTransferInitializedCallback(PSHCLTRANSFERCALLBACKCTX pCbCtx); 96 98 static DECLCALLBACK(void) vbtrShClTransferStartedCallback(PSHCLTRANSFERCALLBACKCTX pCbCtx); … … 185 187 LogFlowFuncLeaveRC(rc); 186 188 return rc; 189 } 190 191 /** 192 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnCreated 193 * 194 * Called by ShClTransferCreate via VbglR3. 195 * 196 * @thread Clipboard main thread. 197 */ 198 static DECLCALLBACK(void) vbtrShClTransferCreatedCallback(PSHCLTRANSFERCALLBACKCTX pCbCtx) 199 { 200 LogFlowFuncEnter(); 201 202 PSHCLCONTEXT pCtx = (PSHCLCONTEXT)pCbCtx->pvUser; 203 AssertPtr(pCtx); 204 205 int rc = SharedClipboardWinTransferCreate(&pCtx->Win, pCbCtx->pTransfer); 206 207 LogFlowFuncLeaveRC(rc); 208 } 209 210 /** 211 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnDestroy 212 * 213 * Called by ShClTransferDestroy via VbglR3. 214 * 215 * @thread Clipboard main thread. 216 */ 217 static DECLCALLBACK(void) vbtrShClTransferDestroyCallback(PSHCLTRANSFERCALLBACKCTX pCbCtx) 218 { 219 LogFlowFuncEnter(); 220 221 PSHCLCONTEXT pCtx = (PSHCLCONTEXT)pCbCtx->pvUser; 222 AssertPtr(pCtx); 223 224 SharedClipboardWinTransferDestroy(&pCtx->Win, pCbCtx->pTransfer); 225 226 LogFlowFuncLeave(); 187 227 } 188 228 … … 1094 1134 pCtx->CmdCtx.Transfers.Callbacks.cbUser = sizeof(SHCLCONTEXT); 1095 1135 1136 pCtx->CmdCtx.Transfers.Callbacks.pfnOnCreated = vbtrShClTransferCreatedCallback; 1137 pCtx->CmdCtx.Transfers.Callbacks.pfnOnDestroy = vbtrShClTransferDestroyCallback; 1096 1138 pCtx->CmdCtx.Transfers.Callbacks.pfnOnInitialized = vbtrShClTransferInitializedCallback; 1097 1139 pCtx->CmdCtx.Transfers.Callbacks.pfnOnStarted = vbtrShClTransferStartedCallback;
Note:
See TracChangeset
for help on using the changeset viewer.