Commit c66f5d59 authored by Guy Albertelli's avatar Guy Albertelli Committed by Alexandre Julliard

Added stub for SetThreadLocale.

parent 53292172
......@@ -4187,6 +4187,7 @@ BOOL32 WINAPI SetStdHandle(DWORD,HANDLE32);
BOOL32 WINAPI SetSystemPowerState(BOOL32,BOOL32);
BOOL32 WINAPI SetSystemTime(const SYSTEMTIME*);
DWORD WINAPI SetThreadAffinityMask(HANDLE32,DWORD);
BOOL32 WINAPI SetThreadLocale(LCID);
BOOL32 WINAPI SetThreadPriority(HANDLE32,INT32);
BOOL32 WINAPI SetTimeZoneInformation(const LPTIME_ZONE_INFORMATION);
VOID WINAPI Sleep(DWORD);
......
......@@ -687,7 +687,7 @@ init MAIN_KernelInit
668 stub SetTapePosition
669 stdcall SetThreadAffinityMask(long long) SetThreadAffinityMask
670 stub SetThreadContext
671 stub SetThreadLocale
671 stdcall SetThreadLocale(long) SetThreadLocale
672 stdcall SetThreadPriority(long long) SetThreadPriority
673 stdcall SetTimeZoneInformation(ptr) SetTimeZoneInformation
674 stdcall SetUnhandledExceptionFilter(ptr) SetUnhandledExceptionFilter
......
......@@ -825,3 +825,19 @@ VOID WINAPI VWin32_BoostThreadStatic( DWORD threadId, INT32 boost )
FIXME(thread, "(0x%08lx,%d): stub\n", threadId, boost);
}
/**********************************************************************
* SetThreadLocale [KERNEL32.671] Sets the calling threads current locale.
*
* RETURNS
* Success: TRUE
* Failure: FALSE
*
* NOTES
* Implemented in NT only (3.1 and above according to MS
*/
BOOL32 WINAPI SetThreadLocale(
LCID lcid) /* [in] Locale identifier */
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment