Implemented StrStrIW.
diff --git a/dlls/comctl32/comctl32undoc.c b/dlls/comctl32/comctl32undoc.c
index 9b95e9e..10be27b 100644
--- a/dlls/comctl32/comctl32undoc.c
+++ b/dlls/comctl32/comctl32undoc.c
@@ -2425,7 +2425,6 @@
return (NULL);
}
-
/**************************************************************************
* StrToIntA [COMCTL32.357] Converts a string to a signed integer.
*/
@@ -2437,6 +2436,38 @@
}
/**************************************************************************
+ * StrStrIW [COMCTL32.363]
+ */
+
+LPWSTR WINAPI
+COMCTL32_StrStrIW (LPCWSTR lpStr1, LPCWSTR lpStr2)
+{
+ INT len1, len2, i;
+ WCHAR first;
+
+ if (*lpStr2 == 0)
+ return ((LPWSTR)lpStr1);
+ len1 = 0;
+ while (lpStr1[len1] != 0) ++len1;
+ len2 = 0;
+ while (lpStr2[len2] != 0) ++len2;
+ if (len2 == 0)
+ return ((LPWSTR)(lpStr1 + len1));
+ first = tolowerW (*lpStr2);
+ while (len1 >= len2) {
+ if (tolowerW (*lpStr1) == first) {
+ for (i = 1; i < len2; ++i)
+ if (tolowerW (lpStr1[i]) != tolowerW(lpStr2[i]))
+ break;
+ if (i >= len2)
+ return ((LPWSTR)lpStr1);
+ }
+ ++lpStr1; --len1;
+ }
+ return (NULL);
+}
+
+/**************************************************************************
* StrToIntW [COMCTL32.365] Converts a wide char string to a signed integer.
*/