Converts a the number of P6CHAR (UTF-8) string to a P6WCHAR string.
- Parameters
-
pDest | [ in ] A pointer to a buffer in which to place the converted 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 P6CHAR string to convert. |
cCount | [ in ] |
- 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. |
-