Changeset 103442 in vbox for trunk/src/VBox/Additions/common/VBoxGuest/lib
- Timestamp:
- Feb 19, 2024 1:51:37 PM (15 months ago)
- svn:sync-xref-src-repo-rev:
- 161773
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp
r103365 r103442 2152 2152 int rc = ShClTransferSetProvider(pTransfer, &Provider); 2153 2153 if (RT_SUCCESS(rc)) 2154 {2155 2154 rc = ShClTransferInit(pTransfer); 2156 if (RT_SUCCESS(rc))2157 {2158 /* As soon as we report the INITIALIZED state to the host, the host can start reading stuff from the transfer.2159 * So make sure that we really are ready here. */2160 if (enmDir == SHCLTRANSFERDIR_TO_REMOTE)2161 AssertMsgStmt(ShClTransferRootsCount(pTransfer), ("No root entries set yet!\n"2162 "Those have to be present as soon we report the transfer as being INITIALIZED to the host\n"),2163 rc = VERR_WRONG_ORDER);2164 }2165 }2166 2155 2167 2156 SHCLTRANSFERID const idTransfer = ShClTransferGetID(pTransfer);
Note:
See TracChangeset
for help on using the changeset viewer.