Changeset 81223 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Oct 11, 2019 12:06:49 PM (5 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp
r81213 r81223 115 115 } 116 116 117 int rc2 = Sh aredClipboardTransferCtxTransferUnregister(pCtx, pTransfer->State.uID);117 int rc2 = ShClTransferCtxTransferUnregister(pCtx, pTransfer->State.uID); 118 118 AssertRC(rc2); 119 119 120 Sh aredClipboardTransferDestroy(pTransfer);120 ShClTransferDestroy(pTransfer); 121 121 122 122 RTMemFree(pTransfer); … … 145 145 AssertPtr(pTransfer); 146 146 147 const SHCLTRANSFERDIR enmDir = Sh aredClipboardTransferGetDir(pTransfer);148 149 LogFlowFunc(("pCtx=%p, idTransfer=%RU16, enmDir=%RU32\n", pCtx, Sh aredClipboardTransferGetID(pTransfer), enmDir));147 const SHCLTRANSFERDIR enmDir = ShClTransferGetDir(pTransfer); 148 149 LogFlowFunc(("pCtx=%p, idTransfer=%RU16, enmDir=%RU32\n", pCtx, ShClTransferGetID(pTransfer), enmDir)); 150 150 151 151 int rc; … … 161 161 /* The IDataObject *must* be created on the same thread as our (proxy) window, so post a message to it 162 162 * to do the stuff for us. */ 163 const SHCLEVENTID uEvent = Sh aredClipboardEventIDGenerate(&pTransfer->Events);164 165 rc = Sh aredClipboardEventRegister(&pTransfer->Events, uEvent);163 const SHCLEVENTID uEvent = ShClEventIDGenerate(&pTransfer->Events); 164 165 rc = ShClEventRegister(&pTransfer->Events, uEvent); 166 166 if (RT_SUCCESS(rc)) 167 167 { … … 170 170 171 171 PSHCLEVENTPAYLOAD pPayload; 172 rc = Sh aredClipboardEventWait(&pTransfer->Events, uEvent, 30 * 1000 /* Timeout in ms */, &pPayload);172 rc = ShClEventWait(&pTransfer->Events, uEvent, 30 * 1000 /* Timeout in ms */, &pPayload); 173 173 if (RT_SUCCESS(rc)) 174 174 { … … 176 176 rc = *(int *)pPayload->pvData; 177 177 178 Sh aredClipboardPayloadFree(pPayload);179 } 180 181 Sh aredClipboardEventUnregister(&pTransfer->Events, uEvent);178 ShClPayloadFree(pPayload); 179 } 180 181 ShClEventUnregister(&pTransfer->Events, uEvent); 182 182 } 183 183 } … … 188 188 LogRel(("Shared Clipboard: Starting transfer failed, rc=%Rrc\n", rc)); 189 189 190 LogFlowFunc(("LEAVE: idTransfer=%RU16, rc=%Rrc\n", Sh aredClipboardTransferGetID(pTransfer), rc));190 LogFlowFunc(("LEAVE: idTransfer=%RU16, rc=%Rrc\n", ShClTransferGetID(pTransfer), rc)); 191 191 return rc; 192 192 } … … 649 649 const SHCLEVENTID uEvent = (SHCLEVENTID)lParam; 650 650 651 Assert(Sh aredClipboardTransferGetSource(pTransfer) == SHCLSOURCE_REMOTE); /* Sanity. */651 Assert(ShClTransferGetSource(pTransfer) == SHCLSOURCE_REMOTE); /* Sanity. */ 652 652 653 653 int rcTransfer = SharedClipboardWinTransferCreate(pWinCtx, pTransfer); 654 654 655 655 PSHCLEVENTPAYLOAD pPayload = NULL; 656 int rc = Sh aredClipboardPayloadAlloc(uEvent, &rcTransfer, sizeof(rcTransfer), &pPayload);656 int rc = ShClPayloadAlloc(uEvent, &rcTransfer, sizeof(rcTransfer), &pPayload); 657 657 if (RT_SUCCESS(rc)) 658 658 { 659 rc = Sh aredClipboardEventSignal(&pTransfer->Events, uEvent, pPayload);659 rc = ShClEventSignal(&pTransfer->Events, uEvent, pPayload); 660 660 if (RT_FAILURE(rc)) 661 Sh aredClipboardPayloadFree(pPayload);661 ShClPayloadFree(pPayload); 662 662 } 663 663 … … 910 910 { 911 911 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 912 rc = Sh aredClipboardTransferCtxInit(&pCtx->TransferCtx);912 rc = ShClTransferCtxInit(&pCtx->TransferCtx); 913 913 #endif 914 914 if (RT_SUCCESS(rc)) … … 1178 1178 1179 1179 #ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 1180 Sh aredClipboardTransferCtxDestroy(&pCtx->TransferCtx);1180 ShClTransferCtxDestroy(&pCtx->TransferCtx); 1181 1181 #endif 1182 1182 -
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp
r81220 r81223 483 483 int rc; 484 484 485 PSHCLROOTLIST pRootList = Sh aredClipboardTransferRootListAlloc();485 PSHCLROOTLIST pRootList = ShClTransferRootListAlloc(); 486 486 if (pRootList) 487 487 { … … 504 504 AssertPtr(pEntry); 505 505 506 rc = Sh aredClipboardTransferRootListEntryInit(pEntry);506 rc = ShClTransferRootListEntryInit(pEntry); 507 507 if (RT_SUCCESS(rc)) 508 508 rc = vbglR3ClipboardRootListEntryRead(pCtx, i, pEntry); … … 522 522 } 523 523 else 524 Sh aredClipboardTransferRootListFree(pRootList);524 ShClTransferRootListFree(pRootList); 525 525 } 526 526 else … … 607 607 Msg.u.TransferStatus.enmStatus.SetUInt32((uint32_t)uStatus); 608 608 609 LogFlowFunc(("%s\n", VBoxShClTransferStatusToStr(uStatus)));609 LogFlowFunc(("%s\n", ShClTransferStatusToStr(uStatus))); 610 610 611 611 int rc = VbglR3HGCMCall(&Msg.hdr, sizeof(Msg)); … … 1565 1565 AssertPtr(pCmdCtx); 1566 1566 1567 int rc = Sh aredClipboardTransferListHdrInit(pListHdr);1567 int rc = ShClTransferListHdrInit(pListHdr); 1568 1568 if (RT_SUCCESS(rc)) 1569 1569 { … … 1573 1573 } 1574 1574 else 1575 Sh aredClipboardTransferListHdrDestroy(pListHdr);1575 ShClTransferListHdrDestroy(pListHdr); 1576 1576 } 1577 1577 … … 1654 1654 { 1655 1655 PSHCLTRANSFER pTransfer; 1656 int rc = Sh aredClipboardTransferCreate(&pTransfer);1657 if (RT_SUCCESS(rc)) 1658 { 1659 Sh aredClipboardTransferSetCallbacks(pTransfer, &pCmdCtx->Transfers.Callbacks);1660 1661 rc = Sh aredClipboardTransferCtxTransferRegisterByIndex(pTransferCtx, pTransfer, uTransferID);1662 if (RT_SUCCESS(rc)) 1663 { 1664 rc = Sh aredClipboardTransferInit(pTransfer, uTransferID, enmDir, enmSource);1656 int rc = ShClTransferCreate(&pTransfer); 1657 if (RT_SUCCESS(rc)) 1658 { 1659 ShClTransferSetCallbacks(pTransfer, &pCmdCtx->Transfers.Callbacks); 1660 1661 rc = ShClTransferCtxTransferRegisterByIndex(pTransferCtx, pTransfer, uTransferID); 1662 if (RT_SUCCESS(rc)) 1663 { 1664 rc = ShClTransferInit(pTransfer, uTransferID, enmDir, enmSource); 1665 1665 if (RT_SUCCESS(rc)) 1666 1666 { … … 1685 1685 creationCtx.pvUser = pCmdCtx; 1686 1686 1687 rc = Sh aredClipboardTransferSetInterface(pTransfer, &creationCtx);1687 rc = ShClTransferSetInterface(pTransfer, &creationCtx); 1688 1688 } 1689 1689 1690 1690 if (RT_SUCCESS(rc)) 1691 rc = Sh aredClipboardTransferStart(pTransfer);1691 rc = ShClTransferStart(pTransfer); 1692 1692 } 1693 1693 1694 1694 if (RT_FAILURE(rc)) 1695 Sh aredClipboardTransferCtxTransferUnregister(pTransferCtx, uTransferID);1695 ShClTransferCtxTransferUnregister(pTransferCtx, uTransferID); 1696 1696 } 1697 1697 } … … 1718 1718 if (RT_FAILURE(rc)) 1719 1719 { 1720 Sh aredClipboardTransferDestroy(pTransfer);1720 ShClTransferDestroy(pTransfer); 1721 1721 pTransfer = NULL; 1722 1722 } … … 1739 1739 int rc; 1740 1740 1741 PSHCLTRANSFER pTransfer = Sh aredClipboardTransferCtxGetTransfer(pTransferCtx, uTransferID);1741 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransfer(pTransferCtx, uTransferID); 1742 1742 if (pTransfer) 1743 1743 { 1744 rc = Sh aredClipboardTransferClose(pTransfer);1745 if (RT_SUCCESS(rc)) 1746 rc = Sh aredClipboardTransferCtxTransferUnregister(pTransferCtx, uTransferID);1744 rc = ShClTransferClose(pTransfer); 1745 if (RT_SUCCESS(rc)) 1746 rc = ShClTransferCtxTransferUnregister(pTransferCtx, uTransferID); 1747 1747 1748 1748 if (RT_SUCCESS(rc)) … … 1774 1774 AssertPtrReturn(pEvent, VERR_INVALID_POINTER); 1775 1775 1776 LogFunc(("Handling idMsg=%RU32 (%s), cParms=%RU32\n", idMsg, VBoxShClHostMsgToStr(idMsg), cParms));1776 LogFunc(("Handling idMsg=%RU32 (%s), cParms=%RU32\n", idMsg, ShClHostMsgToStr(idMsg), cParms)); 1777 1777 1778 1778 int rc; … … 1792 1792 1793 1793 LogFlowFunc(("[Transfer %RU16] enmDir=%RU32, status=%s\n", 1794 uTransferID, enmDir, VBoxShClTransferStatusToStr(transferReport.uStatus)));1794 uTransferID, enmDir, ShClTransferStatusToStr(transferReport.uStatus))); 1795 1795 1796 1796 switch (transferReport.uStatus) … … 1848 1848 1849 1849 LogRel2(("Shared Clipboard: Received status %s (rc=%Rrc) for transfer ID=%RU16\n", 1850 VBoxShClTransferStatusToStr(pEvent->u.TransferStatus.Report.uStatus), pEvent->u.TransferStatus.Report.rc,1850 ShClTransferStatusToStr(pEvent->u.TransferStatus.Report.uStatus), pEvent->u.TransferStatus.Report.rc, 1851 1851 pEvent->u.TransferStatus.uID)); 1852 1852 } … … 1864 1864 if (RT_SUCCESS(rc)) 1865 1865 { 1866 PSHCLTRANSFER pTransfer = Sh aredClipboardTransferCtxGetTransfer(pTransferCtx,1867 1866 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransfer(pTransferCtx, 1867 VBOX_SHCL_CONTEXTID_GET_TRANSFER(pCmdCtx->uContextID)); 1868 1868 AssertPtrBreakStmt(pTransfer, rc = VERR_NOT_FOUND); 1869 1869 … … 1871 1871 RT_ZERO(rootListHdr); 1872 1872 1873 rootListHdr.cRoots = Sh aredClipboardTransferRootsCount(pTransfer);1873 rootListHdr.cRoots = ShClTransferRootsCount(pTransfer); 1874 1874 1875 1875 LogFlowFunc(("cRoots=%RU32\n", rootListHdr.cRoots)); … … 1887 1887 if (RT_SUCCESS(rc)) 1888 1888 { 1889 PSHCLTRANSFER pTransfer = Sh aredClipboardTransferCtxGetTransfer(pTransferCtx,1890 1889 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransfer(pTransferCtx, 1890 VBOX_SHCL_CONTEXTID_GET_TRANSFER(pCmdCtx->uContextID)); 1891 1891 AssertPtrBreakStmt(pTransfer, rc = VERR_NOT_FOUND); 1892 1892 1893 1893 SHCLROOTLISTENTRY rootListEntry; 1894 rc = Sh aredClipboardTransferRootsEntry(pTransfer, uIndex, &rootListEntry);1894 rc = ShClTransferRootsEntry(pTransfer, uIndex, &rootListEntry); 1895 1895 if (RT_SUCCESS(rc)) 1896 1896 rc = VbglR3ClipboardRootListEntryReadReply(pCmdCtx, uIndex, &rootListEntry); … … 1902 1902 { 1903 1903 SHCLLISTOPENPARMS openParmsList; 1904 rc = Sh aredClipboardTransferListOpenParmsInit(&openParmsList);1904 rc = ShClTransferListOpenParmsInit(&openParmsList); 1905 1905 if (RT_SUCCESS(rc)) 1906 1906 { … … 1908 1908 if (RT_SUCCESS(rc)) 1909 1909 { 1910 PSHCLTRANSFER pTransfer = Sh aredClipboardTransferCtxGetTransfer(pTransferCtx,1911 1910 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransfer(pTransferCtx, 1911 VBOX_SHCL_CONTEXTID_GET_TRANSFER(pCmdCtx->uContextID)); 1912 1912 AssertPtrBreakStmt(pTransfer, rc = VERR_NOT_FOUND); 1913 1913 … … 1915 1915 1916 1916 SHCLLISTHANDLE hList = SHCLLISTHANDLE_INVALID; 1917 rc = Sh aredClipboardTransferListOpen(pTransfer, &openParmsList, &hList);1917 rc = ShClTransferListOpen(pTransfer, &openParmsList, &hList); 1918 1918 1919 1919 /* Reply in any case. */ … … 1922 1922 } 1923 1923 1924 Sh aredClipboardTransferListOpenParmsDestroy(&openParmsList);1924 ShClTransferListOpenParmsDestroy(&openParmsList); 1925 1925 } 1926 1926 … … 1934 1934 if (RT_SUCCESS(rc)) 1935 1935 { 1936 PSHCLTRANSFER pTransfer = Sh aredClipboardTransferCtxGetTransfer(pTransferCtx,1937 1936 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransfer(pTransferCtx, 1937 VBOX_SHCL_CONTEXTID_GET_TRANSFER(pCmdCtx->uContextID)); 1938 1938 AssertPtrBreakStmt(pTransfer, rc = VERR_NOT_FOUND); 1939 1939 1940 rc = Sh aredClipboardTransferListClose(pTransfer, hList);1940 rc = ShClTransferListClose(pTransfer, hList); 1941 1941 1942 1942 /* Reply in any case. */ … … 1957 1957 if (RT_SUCCESS(rc)) 1958 1958 { 1959 PSHCLTRANSFER pTransfer = Sh aredClipboardTransferCtxGetTransfer(pTransferCtx,1960 1959 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransfer(pTransferCtx, 1960 VBOX_SHCL_CONTEXTID_GET_TRANSFER(pCmdCtx->uContextID)); 1961 1961 AssertPtrBreakStmt(pTransfer, rc = VERR_NOT_FOUND); 1962 1962 1963 1963 SHCLLISTHDR hdrList; 1964 rc = Sh aredClipboardTransferListGetHeader(pTransfer, hList, &hdrList);1964 rc = ShClTransferListGetHeader(pTransfer, hList, &hdrList); 1965 1965 if (RT_SUCCESS(rc)) 1966 1966 { 1967 1967 rc = VbglR3ClipboardListHdrWrite(pCmdCtx, hList, &hdrList); 1968 1968 1969 Sh aredClipboardTransferListHdrDestroy(&hdrList);1969 ShClTransferListHdrDestroy(&hdrList); 1970 1970 } 1971 1971 } … … 1979 1979 1980 1980 SHCLLISTENTRY entryList; 1981 rc = Sh aredClipboardTransferListEntryInit(&entryList);1981 rc = ShClTransferListEntryInit(&entryList); 1982 1982 if (RT_SUCCESS(rc)) 1983 1983 { … … 1987 1987 if (RT_SUCCESS(rc)) 1988 1988 { 1989 PSHCLTRANSFER pTransfer = Sh aredClipboardTransferCtxGetTransfer(pTransferCtx,1990 1989 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransfer(pTransferCtx, 1990 VBOX_SHCL_CONTEXTID_GET_TRANSFER(pCmdCtx->uContextID)); 1991 1991 AssertPtrBreakStmt(pTransfer, rc = VERR_NOT_FOUND); 1992 1992 1993 rc = Sh aredClipboardTransferListRead(pTransfer, hList, &entryList);1993 rc = ShClTransferListRead(pTransfer, hList, &entryList); 1994 1994 if (RT_SUCCESS(rc)) 1995 1995 { … … 2005 2005 } 2006 2006 2007 Sh aredClipboardTransferListEntryDestroy(&entryList);2007 ShClTransferListEntryDestroy(&entryList); 2008 2008 } 2009 2009 … … 2014 2014 { 2015 2015 SHCLOBJOPENCREATEPARMS openParms; 2016 rc = Sh aredClipboardTransferObjectOpenParmsInit(&openParms);2016 rc = ShClTransferObjOpenParmsInit(&openParms); 2017 2017 if (RT_SUCCESS(rc)) 2018 2018 { … … 2020 2020 if (RT_SUCCESS(rc)) 2021 2021 { 2022 PSHCLTRANSFER pTransfer = Sh aredClipboardTransferCtxGetTransfer(pTransferCtx,2023 2022 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransfer(pTransferCtx, 2023 VBOX_SHCL_CONTEXTID_GET_TRANSFER(pCmdCtx->uContextID)); 2024 2024 AssertPtrBreakStmt(pTransfer, rc = VERR_NOT_FOUND); 2025 2025 2026 2026 SHCLOBJHANDLE hObj; 2027 rc = Sh aredClipboardTransferObjectOpen(pTransfer, &openParms, &hObj);2027 rc = ShClTransferObjOpen(pTransfer, &openParms, &hObj); 2028 2028 2029 2029 /* Reply in any case. */ … … 2032 2032 } 2033 2033 2034 Sh aredClipboardTransferObjectOpenParmsDestroy(&openParms);2034 ShClTransferObjOpenParmsDestroy(&openParms); 2035 2035 } 2036 2036 … … 2044 2044 if (RT_SUCCESS(rc)) 2045 2045 { 2046 PSHCLTRANSFER pTransfer = Sh aredClipboardTransferCtxGetTransfer(pTransferCtx,2047 2046 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransfer(pTransferCtx, 2047 VBOX_SHCL_CONTEXTID_GET_TRANSFER(pCmdCtx->uContextID)); 2048 2048 AssertPtrBreakStmt(pTransfer, rc = VERR_NOT_FOUND); 2049 2049 2050 rc = Sh aredClipboardTransferObjectClose(pTransfer, hObj);2050 rc = ShClTransferObjClose(pTransfer, hObj); 2051 2051 2052 2052 /* Reply in any case. */ … … 2066 2066 if (RT_SUCCESS(rc)) 2067 2067 { 2068 PSHCLTRANSFER pTransfer = Sh aredClipboardTransferCtxGetTransfer(pTransferCtx,2069 2068 PSHCLTRANSFER pTransfer = ShClTransferCtxGetTransfer(pTransferCtx, 2069 VBOX_SHCL_CONTEXTID_GET_TRANSFER(pCmdCtx->uContextID)); 2070 2070 AssertPtrBreakStmt(pTransfer, rc = VERR_NOT_FOUND); 2071 2071 … … 2081 2081 { 2082 2082 uint32_t cbRead; 2083 rc = Sh aredClipboardTransferObjectRead(pTransfer, hObj, pvBuf, cbToRead, &cbRead, fFlags);2083 rc = ShClTransferObjRead(pTransfer, hObj, pvBuf, cbToRead, &cbRead, fFlags); 2084 2084 if (RT_SUCCESS(rc)) 2085 2085 rc = VbglR3ClipboardObjWriteSend(pCmdCtx, hObj, pvBuf, cbRead, NULL /* pcbWritten */); … … 2127 2127 2128 2128 #ifdef LOG_ENABLED 2129 LogFunc(("Handling idMsg=%RU32 (%s), protocol v%RU32\n", idMsg, VBoxShClHostMsgToStr(idMsg), pCtx->uProtocolVer));2129 LogFunc(("Handling idMsg=%RU32 (%s), protocol v%RU32\n", idMsg, ShClHostMsgToStr(idMsg), pCtx->uProtocolVer)); 2130 2130 #endif 2131 2131 switch (idMsg) -
trunk/src/VBox/Additions/darwin/VBoxClient/VBoxClientClipboardGuestToHost.cpp
r80847 r81223 222 222 223 223 size_t cwcActual; /* (includes a schwarzenegger character) */ 224 int rc = vboxClipboardUtf16GetWinSize(pwszData, cbData / sizeof(RTUTF16), &cwcActual);224 int rc = ShClUtf16GetWinSize(pwszData, cbData / sizeof(RTUTF16), &cwcActual); 225 225 AssertReturn(RT_SUCCESS(rc), rc); 226 226 … … 228 228 AssertReturn(pwszWinTmp, VERR_NO_MEMORY); 229 229 230 rc = vboxClipboardUtf16LinToWin(pwszData, cbData / sizeof(RTUTF16), pwszWinTmp, cwcActual);230 rc = ShClUtf16LinToWin(pwszData, cbData / sizeof(RTUTF16), pwszWinTmp, cwcActual); 231 231 if (RT_SUCCESS(rc)) 232 232 rc = vbclClipboardHostPasteData(u32ClientId, VBOX_SHCL_FMT_UNICODETEXT, … … 250 250 const void *pvDib; 251 251 size_t cbDib; 252 int rc = vboxClipboardBmpGetDib(pvData, cbData, &pvDib, &cbDib);252 int rc = ShClBmpGetDib(pvData, cbData, &pvDib, &cbDib); 253 253 AssertRCReturn(rc, rc); 254 254 -
trunk/src/VBox/Additions/darwin/VBoxClient/VBoxClientClipboardHostToGuest.cpp
r80847 r81223 169 169 170 170 /* Convert END-OF-LINE */ 171 rc = vboxClipboardUtf16GetLinSize((RTUTF16 *)pData, cbDataSize / 2, &cbActualLen);171 rc = ShClUtf16GetLinSize((RTUTF16 *)pData, cbDataSize / 2, &cbActualLen); 172 172 AssertReturn(RT_SUCCESS(rc), rc); 173 173 pDataInternal = (RTUTF16 *)RTMemAlloc(cbActualLen * 2); 174 174 AssertReturn(pDataInternal, VERR_NO_MEMORY); 175 rc = vboxClipboardUtf16WinToLin((RTUTF16 *)pData, cbDataSize / 2, pDataInternal, cbActualLen);175 rc = ShClUtf16WinToLin((RTUTF16 *)pData, cbDataSize / 2, pDataInternal, cbActualLen); 176 176 177 177 /* Do actual paste */ … … 217 217 AssertReturn(cbDataSize > 0, VINF_SUCCESS); 218 218 219 rc = vboxClipboardDibToBmp(pData, cbDataSize, &pBmp, &cbBmpSize);219 rc = ShClDibToBmp(pData, cbDataSize, &pBmp, &cbBmpSize); 220 220 AssertReturn(RT_SUCCESS(rc), rc); 221 221 -
trunk/src/VBox/Additions/haiku/VBoxTray/VBoxClipboard.cpp
r80990 r81223 197 197 void *pBmp = NULL; 198 198 size_t cbBmp = 0; 199 rc = vboxClipboardDibToBmp(pv, cb, &pBmp, &cbBmp);199 rc = ShClDibToBmp(pv, cb, &pBmp, &cbBmp); 200 200 if (RT_SUCCESS(rc)) 201 201 { … … 295 295 size_t cbDibSize; 296 296 /* Strip out the BM header */ 297 rc = vboxClipboardBmpGetDib(bmpStream.Buffer(), bmpStream.BufferLength(), &pDib, &cbDibSize);297 rc = ShClBmpGetDib(bmpStream.Buffer(), bmpStream.BufferLength(), &pDib, &cbDibSize); 298 298 if (RT_SUCCESS(rc)) 299 299 {
Note:
See TracChangeset
for help on using the changeset viewer.