kernel32: add a stub for GetUserPreferredUILanguages

Austin English austinenglish at gmail.com
Mon Dec 8 20:29:47 CST 2014


Fixes https://bugs.winehq.org/show_bug.cgi?id=37690

-- 
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141208/568b47c7/attachment.html>
-------------- next part --------------
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 80c7a87..886eb42 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -595,6 +595,7 @@
 @ stdcall GetNumberOfConsoleMouseButtons(ptr)
 @ stdcall GetOEMCP()
 @ stdcall GetOverlappedResult(long ptr ptr long)
+@ stdcall GetUserPreferredUILanguages(long ptr ptr ptr)
 @ stdcall GetPriorityClass(long)
 @ stdcall GetPrivateProfileIntA(str str long str)
 @ stdcall GetPrivateProfileIntW(wstr wstr long wstr)
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 171f14c..fb44f2d 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -5035,3 +5035,13 @@ INT WINAPI IdnToUnicode(DWORD dwFlags, LPCWSTR lpASCIICharStr, INT cchASCIIChar,
 
     return out;
 }
+
+
+/******************************************************************************
+ *           GetUserPreferredUILanguages (KERNEL32.@)
+ */
+BOOL WINAPI GetUserPreferredUILanguages(DWORD flags, PULONG numlangs, PZZWSTR langbuffer, PULONG bufferlen)
+{
+    FIXME("stub: %u %p %s %p\n", flags, numlangs, wine_dbgstr_w(langbuffer), bufferlen );
+    return FALSE;
+}


More information about the wine-patches mailing list