Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::utf8nToWcs ( P6WCHAR pDest,
P6SIZE dstSize,
const P6CHAR pSource,
P6SIZE  cCount 
)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eInvalidArgdstSize and/or pSource is NULL
P6R::eTooSmallThe converted string would not fit in pDest.
P6R::eFailUnable to convert the string to UTF-8.