Added stub for SetThreadLocale.

oldstable
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 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);

View File

@ -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

View File

@ -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;
}