Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6II18n::wcsdup ( P6WCHAR **  pWs1,
const P6WCHAR pWs2 
)
pure virtual

Duplicate a wide-character string Make a copy of the string pointed to by pWs2 and store a pointer to the copy into pWs1.

This generated string MUST be freed by a call to the function wcsdupFree.

Parameters
pWs1[ out ] Pointer to a copy of the string pointed to by pWs2.
pWs2[ in ] Pointer to the string to copy.
Returns
SuccessP6R::eOk 
FailureP6R::eNoMemoryInsufficient memory to make a copy of pWs2.
P6R::eFailUnable to copy pWs2.
P6R::eNotInitializedA successful call to initialize was not made before this call.