Case-insensitively compares the two P6R::P6BCSTR's using the length of the second P6BCSTR to limit the comparison.
This is exactly the same as the bstrncmp() method, but instead of specifying a separate count of characters to compare, the length of the second P6BCSTR is used.
- Parameters
-
s1 | [ in ] A pointer to the first P6BCSTR to compare. |
s2 | [ in ] A pointer to the second P6BCSTR to compare. |
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
Success | P6R::eOk | The comparison was successful. |
Failure | P6R::eInvalidArg | s1, s2 or pRetval is NULL |