Added stub for SetThreadLocale.

This commit is contained in:
Guy Albertelli 1999-01-24 09:59:14 +00:00 committed by Alexandre Julliard
parent 532921729e
commit c66f5d5983
3 changed files with 18 additions and 1 deletions

View File

@ -4187,6 +4187,7 @@ BOOL32 WINAPI SetStdHandle(DWORD,HANDLE32);
BOOL32 WINAPI SetSystemPowerState(BOOL32,BOOL32); BOOL32 WINAPI SetSystemPowerState(BOOL32,BOOL32);
BOOL32 WINAPI SetSystemTime(const SYSTEMTIME*); BOOL32 WINAPI SetSystemTime(const SYSTEMTIME*);
DWORD WINAPI SetThreadAffinityMask(HANDLE32,DWORD); DWORD WINAPI SetThreadAffinityMask(HANDLE32,DWORD);
BOOL32 WINAPI SetThreadLocale(LCID);
BOOL32 WINAPI SetThreadPriority(HANDLE32,INT32); BOOL32 WINAPI SetThreadPriority(HANDLE32,INT32);
BOOL32 WINAPI SetTimeZoneInformation(const LPTIME_ZONE_INFORMATION); BOOL32 WINAPI SetTimeZoneInformation(const LPTIME_ZONE_INFORMATION);
VOID WINAPI Sleep(DWORD); VOID WINAPI Sleep(DWORD);

View File

@ -687,7 +687,7 @@ init MAIN_KernelInit
668 stub SetTapePosition 668 stub SetTapePosition
669 stdcall SetThreadAffinityMask(long long) SetThreadAffinityMask 669 stdcall SetThreadAffinityMask(long long) SetThreadAffinityMask
670 stub SetThreadContext 670 stub SetThreadContext
671 stub SetThreadLocale 671 stdcall SetThreadLocale(long) SetThreadLocale
672 stdcall SetThreadPriority(long long) SetThreadPriority 672 stdcall SetThreadPriority(long long) SetThreadPriority
673 stdcall SetTimeZoneInformation(ptr) SetTimeZoneInformation 673 stdcall SetTimeZoneInformation(ptr) SetTimeZoneInformation
674 stdcall SetUnhandledExceptionFilter(ptr) SetUnhandledExceptionFilter 674 stdcall SetUnhandledExceptionFilter(ptr) SetUnhandledExceptionFilter

View File

@ -825,3 +825,19 @@ VOID WINAPI VWin32_BoostThreadStatic( DWORD threadId, INT32 boost )
FIXME(thread, "(0x%08lx,%d): stub\n", threadId, 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;
}