| 598 | } |
| 599 | |
| 600 | static int CompareStringPointers(const void* asStr1, const void* asStr2) |
| 601 | { |
| 602 | if (asStr1 == nullptr && asStr2) |
| 603 | return -1; // str1 is lesser than str2 |
| 604 | if (asStr1 && asStr2 == nullptr) |
| 605 | return 1; // str1 is greater than str2 |
| 606 | return 0; |
| 607 | } |
| 608 | |
| 609 | // ReSharper disable once CppInconsistentNaming |
| 610 | int lstrcmpni(LPCSTR asStr1, LPCSTR asStr2, int cchMax) |