Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::wreplace ( P6WCHAR pString,
P6WCHAR  chOrig,
const P6WCHAR  chReplacement,
P6SIZE  cchMax 
)
pure virtual

Replaces every occurance of chOrig in pString with chReplacement.

Parameters
pString[ in ] A pointer to the NULL terminated string in which to perform the replacements.
chOrig[ in ] The character to be replaced by chReplacement.
chReplacement[ in ] The character to replace occurances of chOrig with.
cchMax[ in ] The maximum number of characters to search.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpString is NULL
P6R::eNotFoundchOrig was not found in pString. Nothing was replaced.