VirtualBox

Ignore:
Timestamp:
Jul 10, 2019 1:02:50 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: More code for root entries handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp

    r79497 r79672  
    10301030            LogRel(("Shared Clipboard: Adding guest file '%s'\n", pszFileUtf8));
    10311031
    1032         #if 0
    1033             char    *pszFileURI;
    1034             uint32_t cchFileURI;
    1035             rc = SharedClipboardMetaDataConvertToFormat(pszFileUtf8, strlen(pszFileUtf8), SHAREDCLIPBOARDMETADATAFMT_URI_LIST,
    1036                                                         (void **)&pszFileURI, &cchFileURI);
    1037             if (RT_SUCCESS(rc))
    1038             {
    1039                 LogFlowFunc(("\tURI is: %s (%RU32)\n", pszFileURI, cchFileURI));
    1040 
    1041                 rc = RTStrAAppendExN(&pszFiles, 1 /* cPairs */, pszFileURI, cchFileURI);
    1042                 if (RT_SUCCESS(rc))
    1043                     cchFiles += cchFileURI;
    1044 
    1045                 RTStrFree(pszFileURI);
    1046             }
    1047         #endif
     1032            rc = RTStrAAppendExN(&pszFiles, 1 /* cPairs */, pszFileUtf8, strlen(pszFileUtf8));
     1033            cchFiles += (uint32_t)strlen(pszFileUtf8);
    10481034        }
    10491035
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette