Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 58 of file string.c.
Referenced by COMCTL32_ChrCmpA(), and COMCTL32_ChrCmpIA().
{ char str1[3], str2[3]; str1[0] = LOBYTE(ch1); if (IsDBCSLeadByte(str1[0])) { str1[1] = HIBYTE(ch1); str1[2] = '\0'; } else str1[1] = '\0'; str2[0] = LOBYTE(ch2); if (IsDBCSLeadByte(str2[0])) { str2[1] = HIBYTE(ch2); str2[2] = '\0'; } else str2[1] = '\0'; return CompareStringA(GetThreadLocale(), dwFlags, str1, -1, str2, -1) - 2; }