Commit b586be51 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

kernel32: Added GetSystemDefaultLocaleName().

parent a56f3c66
......@@ -634,6 +634,7 @@
@ stdcall GetStringTypeW(long wstr long ptr)
@ stdcall GetSystemDefaultLCID()
@ stdcall GetSystemDefaultLangID()
@ stdcall GetSystemDefaultLocaleName(ptr long)
@ stdcall GetSystemDefaultUILanguage()
@ stdcall GetSystemDEPPolicy()
@ stdcall GetSystemDirectoryA(ptr long)
......
......@@ -931,6 +931,14 @@ LCID WINAPI GetSystemDefaultLCID(void)
return lcid;
}
/***********************************************************************
* GetSystemDefaultLocaleName (KERNEL32.@)
*/
INT WINAPI GetSystemDefaultLocaleName(LPWSTR localename, INT len)
{
LCID lcid = GetSystemDefaultLCID();
return LCIDToLocaleName(lcid, localename, len, 0);
}
/***********************************************************************
* GetUserDefaultUILanguage (KERNEL32.@)
......
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