Changeset 80918 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- Sep 20, 2019 10:27:30 AM (5 years ago)
- Location:
- trunk/src/VBox/GuestHost/SharedClipboard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp
r80907 r80918 2210 2210 2211 2211 /** 2212 * Returns the transfer's direction. 2213 * 2214 * @returns The transfer's direction. 2215 * @param pTransfer Clipboard transfer to return direction for. 2216 */ 2217 SHCLTRANSFERDIR SharedClipboardTransferGetDir(PSHCLTRANSFER pTransfer) 2218 { 2219 AssertPtrReturn(pTransfer, SHCLTRANSFERDIR_UNKNOWN); 2220 2221 return pTransfer->State.enmDir; 2222 } 2223 2224 /** 2212 2225 * Returns the transfer's source. 2213 2226 * … … 2388 2401 AssertPtrReturn(pTransferCtx, VERR_INVALID_POINTER); 2389 2402 2390 LogFlowFunc((" %p\n", pTransferCtx));2403 LogFlowFunc(("pTransferCtx=%p\n", pTransferCtx)); 2391 2404 2392 2405 int rc = RTCritSectInit(&pTransferCtx->CritSect); … … 2415 2428 AssertPtrReturnVoid(pTransferCtx); 2416 2429 2417 LogFlowFunc((" %p\n", pTransferCtx));2430 LogFlowFunc(("pTransferCtx=%p\n", pTransferCtx)); 2418 2431 2419 2432 RTCritSectDelete(&pTransferCtx->CritSect); … … 2623 2636 * @param pTransferCtx Transfer context to cleanup transfers for. 2624 2637 */ 2625 void SharedClipboardTransferCtx TransfersCleanup(PSHCLTRANSFERCTX pTransferCtx)2638 void SharedClipboardTransferCtxCleanup(PSHCLTRANSFERCTX pTransferCtx) 2626 2639 { 2627 2640 AssertPtrReturnVoid(pTransferCtx); 2628 2641 2629 LogFlowFunc(("cTransfers=%RU32, cRunning=%RU32\n", pTransferCtx->cTransfers, pTransferCtx->cRunning)); 2642 LogFlowFunc(("pTransferCtx=%p, cTransfers=%RU32, cRunning=%RU32\n", 2643 pTransferCtx, pTransferCtx->cTransfers, pTransferCtx->cRunning)); 2630 2644 2631 2645 /* Remove all transfers which are not in a running state (e.g. only announced). */ -
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp
r80862 r80918 99 99 int rc; 100 100 101 LogFlowFuncEnter();102 103 101 const BOOL fRc = CloseClipboard(); 104 102 if (RT_UNLIKELY(!fRc)) … … 118 116 rc = VINF_SUCCESS; 119 117 118 LogFlowFuncLeaveRC(rc); 120 119 return rc; 121 120 }
Note:
See TracChangeset
for help on using the changeset viewer.