Re: Add KERNEL32.SetThreadUILanguage() stub
Andreas Mohr wrote:
Hello all,
this one is needed by XP's ping.exe and a reworked ReactOS version.
Andreas Mohr
This prototype is outdated. MS has documented this function in the meanwhile: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/mui_se... Best Regards, Thomas Weidenmueller
Hi, On Fri, Jul 29, 2005 at 07:14:22PM +0200, Thomas Weidenmueller wrote:
Andreas Mohr wrote:
Hello all,
this one is needed by XP's ping.exe and a reworked ReactOS version.
Andreas Mohr
This prototype is outdated. MS has documented this function in the meanwhile: Thanks, very fast reaction!
This is now a semi-stub which should be able to satisfy requirements much more than before. Andreas Mohr
"Andreas Mohr" <andi(a)rhlx01.fht-esslingen.de> wrote:
+LANGID WINAPI SetThreadUILanguage(WORD wReserved) +{ + FIXME("SetThreadUILanguage(0x%04x), semi-stub! (defaulting to english)\n", wReserved); + return MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT); +}
Why are you returning english here? Wine should display UI according to current user locale, so GetUserDefaultUILanguage() would be more appropriate here. -- Dmitry.
participants (3)
-
Andreas Mohr -
Dmitry Timoshkov -
Thomas Weidenmueller