VirtualBox

Changeset 85836 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 19, 2020 4:24:34 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139998
Message:

Shared Clipboard: Doxygen fixes, make more use of PCRTUTF16 for source arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/clipboard-helper.h

    r85828 r85836  
    100100 * @param   cwcDst              Where to return the size of the converted string in RTUTF16 units. Includes terminator.
    101101 */
    102 int ShClConvUtf16LFToCRLFA(RTUTF16 *pwcSrc, size_t cwcSrc, PRTUTF16 *ppwszDst, size_t *pcwDst);
     102int ShClConvUtf16LFToCRLFA(PCRTUTF16 pcwszSrc, size_t cwcSrc, PRTUTF16 *ppwszDst, size_t *pcwDst);
    103103
    104104/**
     
    117117 *
    118118 * @returns VBox status code. Will return VERR_NO_DATA if no data was converted.
    119  * @param  pwszSrc              UTF-16 string to convert.
     119 * @param  pcwszSrc             UTF-16 string to convert.
    120120 * @param  cbSrc                Length of @a pwszSrc (in bytes).
    121121 * @param  pszBuf               Where to write the converted string.
     
    123123 * @param  pcbLen               Where to store the size (in bytes) of the converted string. Includes terminator.
    124124 */
    125 int ShClConvUtf16CRLFToUtf8LF(PRTUTF16 pwszSrc, size_t cbSrc, char *pszBuf, size_t cbBuf, size_t *pcbLen);
     125int ShClConvUtf16CRLFToUtf8LF(PCRTUTF16 pcwszSrc, size_t cbSrc, char *pszBuf, size_t cbBuf, size_t *pcbLen);
    126126
    127127/**
     
    129129*
    130130* @returns VBox status code.
    131 * @param  pwcSrc                The source text.
    132 * @param  cwSrc                 Length (in RTUTF16 units) of the source text.
     131* @param  pcwszSrc              UTF-16 string to convert.
     132* @param  cwcSrc                Length (in RTUTF16 units) of the source text.
    133133* @param  ppszDst               Where to store the converted result on success.
    134134* @param  pcbDst                Where to store the number of bytes written.
    135135*/
    136 int ShClConvUtf16ToUtf8HTML(RTUTF16 *pwcSrc, size_t cwSrc, char **ppszDst, size_t *pcbDst);
     136int ShClConvUtf16ToUtf8HTML(PCRTUTF16 pcwszSrc, size_t cwcSrc, char **ppszDst, size_t *pcbDst);
    137137
    138138/**
     
    140140 *
    141141 * @returns VBox status code.
    142  * @param  pszSrc               UTF-8 string to convert.
     142 * @param  pcszSrc              UTF-8 string to convert.
    143143 * @param  cbSrc                Size of UTF-8 string to convert (in bytes), not counting the terminating zero.
    144144 * @param  ppwszDst             Where to return the allocated buffer on success.
    145145 * @param  pcwDst               Where to return the size (in RTUTF16 units) of the allocated buffer on success. Includes terminator.
    146146 */
    147 int ShClConvUtf8LFToUtf16CRLF(const char *pszSrc, unsigned cbSrc, PRTUTF16 *ppwszDst, size_t *pcwDst);
     147int ShClConvUtf8LFToUtf16CRLF(const char *pcszSrc, unsigned cbSrc, PRTUTF16 *ppwszDst, size_t *pcwDst);
    148148
    149149/**
     
    151151 *
    152152 * @returns VBox status code.
    153  * @param  pszSrc               UTF-8 string to convert.
     153 * @param  pcszSrc              UTF-8 string to convert.
    154154 * @param  cbSrc                Size of string (in bytes), not counting the terminating zero.
    155155 * @param  ppwszDst             Where to return the allocated buffer on success.
    156156 * @param  pcwDst               Where to return the size (in RTUTF16 units) of the allocated buffer on success. Includes terminator.
    157157 */
    158 int ShClConvLatin1LFToUtf16CRLF(const char *pszSrc, unsigned cbSrc, PRTUTF16 *ppwszDst, size_t *pcwDst);
     158int ShClConvLatin1LFToUtf16CRLF(const char *pcszSrc, unsigned cbSrc, PRTUTF16 *ppwszDst, size_t *pcwDst);
    159159
    160160#pragma pack(1)
Note: See TracChangeset for help on using the changeset viewer.

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