Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::bwstrrchr ( const P6BWCSTR pbcsStr,
P6INT16  c,
P6BWCSTR pRetPtr 
)
pure virtual

Finds the last occurance of c in string,.

Parameters
pbcsStr[ in ] A pointer to the P6BWCSTR to be searched.
c[ in ] The character to search for.
pRetPtr[ out ] A pointer to a P6BWCSTR that on success will have the pString member set to point at the matching character, and length member will be set to the length of the P6BWCSTR from the matching character to the end of the P6BWCSTR being searched. On failure, the pString member will be set to NULL and the length to zero.
Returns
SuccessP6R::eOkIndicates that the search completed succesffully and that a match was found.
FailureP6R::eInvalidArgpbcsStr or pRetPtr is NULL
P6R::eNotFoundc was not found in pbcsStr