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

Copy a P6BWCSTR into a wide character buffer and NULL terminate.

Parameters
pszDest[ in ] A pointer to the wide character buffer that pSource will be copied into.
cDest[ in ] The size of pszDest in wide characters.
pSource[ in ] A pointer to the P6BWCSTR to copy.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpszDest and/or pSource is NULL or cDest is zero.
P6R::eTooBigpszDest is too small.