kernel32: Added SetThreadUILanguage() stub.

This commit is contained in:
Simon Kissane 2006-06-11 10:53:58 +10:00 committed by Alexandre Julliard
parent 7d92b89abf
commit fe70078a5b
2 changed files with 22 additions and 1 deletions

View File

@ -1032,7 +1032,7 @@
@ stdcall SetThreadLocale(long)
@ stdcall SetThreadPriority(long long)
@ stdcall SetThreadPriorityBoost(long long)
# @ stub SetThreadUILanguage
@ stdcall SetThreadUILanguage(long)
@ stdcall SetTimeZoneInformation(ptr)
@ stub SetTimerQueueTimer
@ stdcall SetUnhandledExceptionFilter(ptr)

View File

@ -1717,6 +1717,27 @@ BOOL WINAPI SetThreadLocale( LCID lcid )
return TRUE;
}
/**********************************************************************
* SetThreadUILanguage (KERNEL32.@)
*
* Set the current threads UI language.
*
* PARAMS
* langid [I] LANGID of the language to set, or 0 to use
* the available language which is best supported
* for console applications
*
* RETURNS
* Success: The return value is the same as the input value.
* Failure: The return value differs from the input value.
* Use GetLastError() to determine the cause.
*/
LANGID WINAPI SetThreadUILanguage( LANGID langid )
{
TRACE("(0x%04x) stub - returning success\n", langid);
return langid;
}
/******************************************************************************
* ConvertDefaultLocale (KERNEL32.@)
*