Changeset 85557 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jul 30, 2020 1:28:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibDragAndDrop.cpp
r85536 r85557 1035 1035 rc = Msg.u.v3.uProtocol.GetUInt32(&pCtx->uProtocol); AssertRC(rc); 1036 1036 1037 pCtx->cbMaxChunkSize = _64K; /** @todo Use a scratch buffer on the heap? */1037 pCtx->cbMaxChunkSize = DND_DEFAULT_CHUNK_SIZE; /** @todo Use a scratch buffer on the heap? */ 1038 1038 } 1039 1039 else … … 1524 1524 return rc; 1525 1525 1526 uint32_t cbBuf = _64K; /** @todo Make this configurable? */ 1526 uint32_t cbBuf = pCtx->cbMaxChunkSize; 1527 AssertReturn(cbBuf, VERR_INVALID_PARAMETER); 1527 1528 void *pvBuf = RTMemAlloc(cbBuf); /** @todo Make this buffer part of PVBGLR3GUESTDNDCMDCTX? */ 1528 1529 if (!pvBuf)
Note:
See TracChangeset
for help on using the changeset viewer.