Commit 2fbd4a01 authored by Steve Lustbader's avatar Steve Lustbader Committed by Alexandre Julliard

Implement GetUserDefaultUILanguage and GetSystemDefaultUILanguage.

parent 9240bc3f
......@@ -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
......
......@@ -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);
......
......@@ -177,6 +177,24 @@ LCID WINAPI GetSystemDefaultLCID(void)
/***********************************************************************
* GetUserDefaultUILanguage (KERNEL32.@)
*/
LANGID WINAPI GetUserDefaultUILanguage(void)
{
return GetUserDefaultLangID();
}
/***********************************************************************
* GetSystemDefaultUILanguage (KERNEL32.@)
*/
LANGID WINAPI GetSystemDefaultUILanguage(void)
{
return GetSystemDefaultLangID();
}
/***********************************************************************
* IsDBCSLeadByteEx (KERNEL32.@)
*/
BOOL WINAPI IsDBCSLeadByteEx( UINT codepage, BYTE testchar )
......
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