diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index 601644f10c8..fc9e3cc51bb 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -660,6 +660,7 @@ @ stdcall GetTimeZoneInformation(ptr) @ stdcall GetUserDefaultLCID() @ stdcall GetUserDefaultLangID() +@ stdcall GetUserDefaultLocaleName(ptr long) @ stdcall GetUserDefaultUILanguage() @ stdcall GetUserGeoID(long) @ stub GetVDMCurrentDirectories diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c index 76076ea27f9..8d8042b1fee 100644 --- a/dlls/kernel32/locale.c +++ b/dlls/kernel32/locale.c @@ -3798,3 +3798,9 @@ INT WINAPI GetGeoInfoA(GEOID GeoId, GEOTYPE GeoType, LPSTR lpGeoData, FIXME("%d %d %p %d %d\n", GeoId, GeoType, lpGeoData, cchData, language); return 0; } + +INT WINAPI GetUserDefaultLocaleName(LPWSTR localename, int buffersize) +{ + FIXME("(%p, %d) stub!\n", localename, buffersize); + return 0; +} diff --git a/include/winnls.h b/include/winnls.h index 47c81d94d5f..b75e24a4b0a 100644 --- a/include/winnls.h +++ b/include/winnls.h @@ -767,6 +767,7 @@ WINBASEAPI INT WINAPI GetTimeFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWST #define GetTimeFormat WINELIB_NAME_AW(GetTimeFormat) WINBASEAPI LANGID WINAPI GetUserDefaultLangID(void); WINBASEAPI LCID WINAPI GetUserDefaultLCID(void); +WINBASEAPI INT WINAPI GetUserDefaultLocaleName(LPWSTR,int); WINBASEAPI LANGID WINAPI GetUserDefaultUILanguage(void); WINBASEAPI GEOID WINAPI GetUserGeoID(GEOCLASS); WINBASEAPI BOOL WINAPI IsDBCSLeadByte(BYTE);