kernel32: Implement GetUserDefaultLocaleName using users default LCID.

This commit is contained in:
Rudolf Mayerhofer 2010-09-15 11:08:20 +02:00 committed by Alexandre Julliard
parent c84cf4189c
commit 2637bb9de7
1 changed files with 6 additions and 2 deletions

View File

@ -3801,6 +3801,10 @@ INT WINAPI GetGeoInfoA(GEOID GeoId, GEOTYPE GeoType, LPSTR lpGeoData,
INT WINAPI GetUserDefaultLocaleName(LPWSTR localename, int buffersize)
{
FIXME("(%p, %d) stub!\n", localename, buffersize);
return 0;
LCID userlcid;
TRACE("%p, %d\n", localename, buffersize);
userlcid = GetUserDefaultLCID();
return LCIDToLocaleName(userlcid, localename, buffersize, 0);
}