Locale independent conversion from a UTF8 multibyte string to wide character string.
A NULL value for pDst results in pDstSize assigned the required size of pDst for the conversion. The resulting wide character string is NULL terminated.
- Parameters
-
pDst | [ out ] Pointer to a buffer to write converted wide character string. If this paramter is NULL the function will return the required buffer size. |
pDstSize | [ in ] The size of the buffer pointed to by pDst in wide characters. [ out ] The number of bytes in pSrc that made up the output wide character. |
pSrc | [ in ] Pointer to the UTF8 string to convert. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eFail | Unable to convert UTF8 string into a wide character string. |
P6R::eInvalidArg | If pSrc or pDstSize is equal to NULL. |
P6R::eTooSmall | The buffer pointed to by pDst is not big enough. pDstSize points to the required buffer size. |
P6R::eNotInitialized | A successful call to initialize was not made before this call. |