|
virtual P6R::P6ERR P6R::p6ISafeString::wstrlcpy |
( |
P6R::P6WCHAR * |
pszDest, |
|
|
P6R::P6SIZE |
cDest, |
|
|
const P6R::P6WCHAR * |
pszSource, |
|
|
P6R::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:
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pDest, pSource, and or pcDest is NULL, or *pcDest is zero |
P6R::eTooBig | pSource is too big to fit into pDest. |
|