Implement GetUserDefaultUILanguage and GetSystemDefaultUILanguage.

This commit is contained in:
Steve Lustbader 2002-10-07 18:27:06 +00:00 committed by Alexandre Julliard
parent 9240bc3fbe
commit 2fbd4a0118
3 changed files with 22 additions and 0 deletions

View File

@ -439,6 +439,7 @@ init MAIN_KernelInit
@ stdcall GetStringTypeW(long wstr long ptr) GetStringTypeW
@ stdcall GetSystemDefaultLCID() GetSystemDefaultLCID
@ stdcall GetSystemDefaultLangID() GetSystemDefaultLangID
@ stdcall GetSystemDefaultUILanguage() GetSystemDefaultUILanguage
@ stdcall GetSystemDirectoryA(ptr long) GetSystemDirectoryA
@ stdcall GetSystemDirectoryW(ptr long) GetSystemDirectoryW
@ stdcall GetSystemInfo(ptr) GetSystemInfo
@ -464,6 +465,7 @@ init MAIN_KernelInit
@ stdcall GetTimeZoneInformation(ptr) GetTimeZoneInformation
@ stdcall GetUserDefaultLCID() GetUserDefaultLCID
@ stdcall GetUserDefaultLangID() GetUserDefaultLangID
@ stdcall GetUserDefaultUILanguage() GetUserDefaultUILanguage
@ stdcall GetVersion() GetVersion
@ stdcall GetVersionExA(ptr) GetVersionExA
@ stdcall GetVersionExW(ptr) GetVersionExW

View File

@ -516,12 +516,14 @@ BOOL WINAPI GetStringTypeExW(LCID,DWORD,LPCWSTR,INT,LPWORD);
#define GetStringTypeEx WINELIB_NAME_AW(GetStringTypeEx)
LANGID WINAPI GetSystemDefaultLangID(void);
LCID WINAPI GetSystemDefaultLCID(void);
LANGID WINAPI GetSystemDefaultUILanguage(void);
LCID WINAPI GetThreadLocale(void);
INT WINAPI GetTimeFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT);
INT WINAPI GetTimeFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT);
#define GetTimeFormat WINELIB_NAME_AW(GetTimeFormat)
LANGID WINAPI GetUserDefaultLangID(void);
LCID WINAPI GetUserDefaultLCID(void);
LANGID WINAPI GetUserDefaultUILanguage(void);
BOOL WINAPI IsDBCSLeadByte(BYTE);
BOOL WINAPI IsDBCSLeadByteEx(UINT,BYTE);
BOOL WINAPI IsValidCodePage(UINT);

View File

@ -176,6 +176,24 @@ LCID WINAPI GetSystemDefaultLCID(void)
}
/***********************************************************************
* GetUserDefaultUILanguage (KERNEL32.@)
*/
LANGID WINAPI GetUserDefaultUILanguage(void)
{
return GetUserDefaultLangID();
}
/***********************************************************************
* GetSystemDefaultUILanguage (KERNEL32.@)
*/
LANGID WINAPI GetSystemDefaultUILanguage(void)
{
return GetSystemDefaultLangID();
}
/***********************************************************************
* IsDBCSLeadByteEx (KERNEL32.@)
*/