Converts the number of P6WCHAR characters specified in cCount to a P6CHAR UTF-8 string.
- Parameters
-
pDest | [ in ] A pointer to a buffer in which to place the converted UTF-8 string. If this is NULL, them the amount of space required for the converted string is calculated and returned in dstSize. |
dstSize | [INOUT] The address of a P6UINT32 which on entry must contain the size in characters of pDest. On exit, the number of characters written to pDest will be returned here. |
pSource | [ in ] A pointer to the NULL terminated P6WCHAR string to convert. |
cCount | [ in ] The number of character in pSource to convert. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | dstSize and/or pSource is NULL |
P6R::eTooSmall | The converted string would not fit in pDest. |
P6R::eFail | Unable to convert the string to UTF-8. |
-