/* Performs a case-insensitive comparison of two Null-terminated strings. */
INTN EFIAPI EngStriColl(IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN CHAR16 *Str1, IN CHAR16 *Str2)
/* Performs a case-insensitive comparison of two Null-terminated strings. */
INTN EFIAPI EngStriColl(IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN CHAR16 *Str1, IN CHAR16 *Str2)
{
  while (*Str1 != 0) {
    if (TO_UPPER (*Str1) != TO_UPPER (*Str2)) {
      break;
    }
    Str1 += 1;
    Str2 += 1;
  }
  return TO_UPPER (*Str1) - TO_UPPER (*Str2);
}