Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::wstrlcpy ( P6WCHAR pszDest,
P6SIZE  cDest,
const P6WCHAR pszSource,
P6SIZE pcCopied 
)
pure virtual

Copies a wide character string.

Parameters
pszDest[ in ] Destination string.
cDest[ in ] The size in wide characters of the destination (pDest).
pszSource[ in ] The NULL terminated source string to be copied to the destination.
pcCopied[ out ] Optional. The address of a P6SIZE in which will be placed the number of characters copied not including the terminating NULL character. NULL can be specified here if this information is not needed.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpDest, pSource, and or pcDest is NULL, or *pcDest is zero
P6R::eTooBigpSource is too big to fit into pDest.