Lexicographically compares two strings of Unicode code points with explicitly defined maximum number of characters to read and compare.
- Parameters
-
| pszStr1 | A zero-terminated string that is the first (left) comparand. |
| pszStr2 | A zero-terminated string that is the second (right) comparand. |
| count | A maximum amount of characters to read and compare. Note that this is not the number of character to compare: if the zero terminator is encountered within pStr1 or pStr2, the comparison will stop whether or not count characters have been read. |
- Returns
- A negative value, if
pszStr1 is lexicographically less than pszStr2, 0, if the strings are equal, and a positive value, if pszStr1 is lexicographically greater than pszStr2.