Lines Matching defs:cbData

118  *                          *ppvData pointes to. (Usually greater than *cbData
129 uint32_t cbData = 0;
154 cbData = CFDataGetLength(flavorData);
155 if (flavorDataPtr && cbData > 0)
157 cbAlloc = RT_ALIGN_32(cbData, PAGE_SIZE);
160 memcpy(pvData, flavorDataPtr, cbData);
175 *pcbData = cbData;
198 static int vbclClipboardHostPasteData(uint32_t u32ClientId, uint32_t u32Format, const void *pvData, uint32_t cbData)
201 if (cbData == 0)
205 return VbglR3ClipboardWriteData(u32ClientId, u32Format, (void *)pvData, cbData); /** @todo r=bird: Why on earth does a write function like VbglR3ClipboardWriteData take a non-const parameter? */
213 * @param cbData The length of the string, in bytes, probably
216 static int vbclClipboardHostPasteText(uint32_t u32ClientId, PRTUTF16 pwszData, uint32_t cbData)
218 AssertReturn(cbData > 0, VERR_INVALID_PARAMETER);
222 int rc = vboxClipboardUtf16GetWinSize(pwszData, cbData / sizeof(RTUTF16), &cwcActual);
228 rc = vboxClipboardUtf16LinToWin(pwszData, cbData / sizeof(RTUTF16), pwszWinTmp, cwcActual);
244 * @param cbData The size of the bitmap.
246 static int vbclClipboardHostPasteBitmap(uint32_t u32ClientId, void *pvData, uint32_t cbData)
250 int rc = vboxClipboardBmpGetDib(pvData, cbData, &pvDib, &cbDib);
273 uint32_t cbData = 0;
289 rc = vbclClipboardReadGuestData(pPasteboard, kUTTypeUTF16PlainText, &pvData, &cbData, &cbAlloc);
299 rc = vbclClipboardReadGuestData(pPasteboard, kUTTypeUTF8PlainText, &pvData, &cbData, &cbAlloc);
311 rc = vbclClipboardHostPasteText(u32ClientId, (PRTUTF16)pvData, cbData);
334 rc = vbclClipboardReadGuestData(pPasteboard, kUTTypeBMP, &pvData, &cbData, &cbAlloc);
337 rc = vbclClipboardHostPasteBitmap(u32ClientId, pvData, cbData);
353 rc = vbclClipboardReadGuestData(pPasteboard, kUTTypeHTML, &pvData, &cbData, &cbAlloc);
356 rc = vbclClipboardHostPasteData(u32ClientId, VBOX_SHARED_CLIPBOARD_FMT_HTML, pvData, cbData);