Added dummy implementation for EnumUILanguagesA/W.

This commit is contained in:
Stefan Leichter 2004-10-19 23:50:36 +00:00 committed by Alexandre Julliard
parent a7094d8e5a
commit 165b24b5e1
2 changed files with 34 additions and 2 deletions

View File

@ -270,8 +270,8 @@
@ stdcall EnumSystemLocalesW(ptr long)
@ stdcall EnumTimeFormatsA(ptr long long)
@ stdcall EnumTimeFormatsW(ptr long long)
@ stub EnumUILanguagesA
@ stub EnumUILanguagesW
@ stdcall EnumUILanguagesA(ptr long long)
@ stdcall EnumUILanguagesW(ptr long long)
@ stdcall EraseTape(ptr long long)
@ stdcall EscapeCommFunction(long long)
@ stdcall ExitProcess(long)

View File

@ -3162,3 +3162,35 @@ BOOL WINAPI SetUserGeoID( GEOID GeoID )
FIXME("%ld\n",GeoID);
return FALSE;
}
/******************************************************************************
* EnumUILanguagesA (KERNEL32.@)
*/
BOOL WINAPI EnumUILanguagesA(UILANGUAGE_ENUMPROCA pUILangEnumProc, DWORD dwFlags, LONG_PTR lParam)
{
static char value[] = "0409";
if(!pUILangEnumProc) return FALSE;
FIXME("%p, %lx, %lx calling pUILangEnumProc with %s\n",
pUILangEnumProc, dwFlags, lParam, debugstr_a(value));
pUILangEnumProc( value, lParam );
return(TRUE);
}
/******************************************************************************
* EnumUILanguagesW (KERNEL32.@)
*/
BOOL WINAPI EnumUILanguagesW(UILANGUAGE_ENUMPROCW pUILangEnumProc, DWORD dwFlags, LONG_PTR lParam)
{
static WCHAR value[] = {'0','4','0','9',0};
if(!pUILangEnumProc) return FALSE;
FIXME("%p, %lx, %lx calling pUILangEnumProc with %s\n",
pUILangEnumProc, dwFlags, lParam, debugstr_w(value));
pUILangEnumProc( value, lParam );
return(TRUE);
}