Add KERNEL32.SetThreadUILanguage() stub

Simon Kissane skissane at
Sat Jun 10 19:53:58 CDT 2006

This function is required for many command line utilities shipped with
WinXP (e.g. ping.exe)

Andreas Mohr submitted a patch to do this (which was not accepted) in July 2005.
My version is hopefully somewhat more correct, wrt the Vista MSDN
docs... Andreas' stubbed it by always returning English, I stub it by
always returning the argument, which is how success is indicated
according to MSDN.... also I put it in locale.c rather than thread.c
as he did, which makes more sense... so, anyway, maybe my patch will
go better :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SetThreadUILanguage.diff
Type: text/x-diff
Size: 1811 bytes
Desc: not available
Url :

More information about the wine-patches mailing list