Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::bwstrnicmp ( const P6BWCSTR s1,
const P6BWCSTR s2,
P6SIZE  nCount,
P6INT32 pRetval 
)
pure virtual

Case-insensitively compares the specified number of characters in two P6R::P6BWCSTR's.

Parameters
s1[ in ] A pointer to the first P6BWCSTR to compare.
s2[ in ] A pointer to the second P6BWCSTR to compare.
nCount[ in ] A P6SIZE containing the number of bytes to compare. If either s1 or s2 is less than nCount characters, *pRetval will be set to -1 if s1 is < than s2, an 1 if s1 is > that s2.
pRetval[ out ] The address of a P6R:P6INT32 in which will be placed the result of comparison. A value of zero indicate equality, -1 indicates s1 < s2 and 1 indicate s1 > s2.
Returns
SuccessP6R::eOkThe comparison was successful.
FailureP6R::eInvalidArgs1, s2 or pRetval is NULL, or nCount is zero