virtual P6R::P6ERR P6R::p6ISafeString::bstrchr ( const P6R::P6BCSTR pbcsStr,
P6R::P6INT16  c,
P6R::P6BCSTR pRetPtr 
) [pure virtual]

Finds the first occurance of c in pbcString,.

Parameters:
pbcsStr [in] A pointer to the P6BCSTR to be searched.
c [in] The character to search for.
pRetPtr [out] A pointer to a P6BCSTR 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 P6BCSTR from the matching character to the end of the P6BCSTR 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
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.