Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::wstrchr ( const P6WCHAR pStr,
P6WCHAR  c,
P6SIZE  cchMax,
P6WCHAR **  ppRetPtr 
)
pure virtual

Finds the first occurance of c in the wide character string s.

Parameters
pStr[ in ] A pointer to the NULL terminated wide character string to search.
c[ in ] The character to search for.
cchMax[ in ] The maximum number of characters to search. If cchMax is set to zero, the internal default of P6SAFESTR_MAX_CCH charaters will be used.
ppRetPtr[ out ] The address of a pointer in which will be placed a pointer to the first occurence of c.
Returns
SuccessP6R::eOkThe search completed. If a match was found, *ppRetPtr will point to the match. Otherwise it will be NULL.
FailureP6R::eInvalidArgs or ppRetPtr is NULL
P6R::eNotFoundc was not found in s
P6R::eTooBigcchMax characters was exceeded in the comparison. The comparison was aborted.