kernel32: Added GetSystemDefaultLocaleName().

This commit is contained in:
Nikolay Sivov 2012-07-22 11:41:20 +04:00 committed by Alexandre Julliard
parent a56f3c665e
commit b586be515c
2 changed files with 9 additions and 0 deletions

View File

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

View File

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