Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::strcmp ( const P6CHAR pStr1,
const P6CHAR pStr2,
P6SIZE  cchMax,
P6INT32 pRetval 
)
pure virtual

Lexographically compares two strings case sensitively.

Parameters
pStr1[ in ] A pointer to the first NULL terminated string to compare.
pStr2[ in ] A pointer to the second NULL terminated string to compare.
cchMax[ in ] The maximum number of charaters to compare.
pRetval[ out ] A pointer to a P6R::P6INT32 in which will be placed the result of the comparison.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgs1 or s2 or pRetval is NULL
P6R::eTooBigcchMax characters was exceeded in the comparison. The comparison was aborted.