Commit 95bf7df1 authored by Maxime Bellengé's avatar Maxime Bellengé Committed by Alexandre Julliard

Stubs for EnumSystemLanguageGroups{A|W}.

parent 044a3531
...@@ -253,8 +253,8 @@ ...@@ -253,8 +253,8 @@
@ stdcall EnumSystemCodePagesA(ptr long) @ stdcall EnumSystemCodePagesA(ptr long)
@ stdcall EnumSystemCodePagesW(ptr long) @ stdcall EnumSystemCodePagesW(ptr long)
@ stub EnumSystemGeoID @ stub EnumSystemGeoID
@ stub EnumSystemLanguageGroupsA @ stdcall EnumSystemLanguageGroupsA(ptr long ptr)
@ stub EnumSystemLanguageGroupsW @ stdcall EnumSystemLanguageGroupsW(ptr long ptr)
@ stdcall EnumSystemLocalesA(ptr long) @ stdcall EnumSystemLocalesA(ptr long)
@ stdcall EnumSystemLocalesW(ptr long) @ stdcall EnumSystemLocalesW(ptr long)
@ stdcall EnumTimeFormatsA(ptr long long) @ stdcall EnumTimeFormatsA(ptr long long)
......
...@@ -1012,3 +1012,31 @@ void LOCALE_Init(void) ...@@ -1012,3 +1012,31 @@ void LOCALE_Init(void)
CODEPAGE_Init( ansi, oem, mac, lcid ); CODEPAGE_Init( ansi, oem, mac, lcid );
update_registry( lcid ); update_registry( lcid );
} }
/******************************************************************************
* EnumSystemLanguageGroupsA (KERNEL32.@)
*/
BOOL EnumSystemLanguageGroupsA(
LANGUAGEGROUP_ENUMPROCA pLangGroupEnumProc, /* callback function */
DWORD dwFlags, /* language groups */
LONG_PTR lParam /* callback parameter */
)
{
FIXME("stub\n");
SetLastError( ERROR_INVALID_PARAMETER );
return FALSE;
}
/******************************************************************************
* EnumSystemLanguageGroupsW (KERNEL32.@)
*/
BOOL EnumSystemLanguageGroupsW(
LANGUAGEGROUP_ENUMPROCW pLangGroupEnumProc, /* callback function */
DWORD dwFlags, /* language groups */
LONG_PTR lParam /* callback parameter */
)
{
FIXME("stub\n");
SetLastError( ERROR_INVALID_PARAMETER );
return FALSE;
}
...@@ -340,6 +340,7 @@ extern "C" { ...@@ -340,6 +340,7 @@ extern "C" {
/* Types /* Types
*/ */
typedef DWORD LGRPID;
typedef DWORD LCTYPE; typedef DWORD LCTYPE;
typedef DWORD CALTYPE; typedef DWORD CALTYPE;
typedef DWORD CALID; typedef DWORD CALID;
...@@ -440,6 +441,8 @@ typedef BOOL (CALLBACK *LOCALE_ENUMPROCA)(LPSTR); ...@@ -440,6 +441,8 @@ typedef BOOL (CALLBACK *LOCALE_ENUMPROCA)(LPSTR);
typedef BOOL (CALLBACK *LOCALE_ENUMPROCW)(LPWSTR); typedef BOOL (CALLBACK *LOCALE_ENUMPROCW)(LPWSTR);
typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCA)(LPSTR); typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCA)(LPSTR);
typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCW)(LPWSTR); typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCW)(LPWSTR);
typedef BOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCA)(LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR);
typedef BOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCW)(LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR);
#else #else
typedef FARPROC CALINFO_ENUMPROCA; typedef FARPROC CALINFO_ENUMPROCA;
typedef FARPROC CALINFO_ENUMPROCW; typedef FARPROC CALINFO_ENUMPROCW;
...@@ -455,6 +458,8 @@ typedef FARPROC LOCALE_ENUMPROCA; ...@@ -455,6 +458,8 @@ typedef FARPROC LOCALE_ENUMPROCA;
typedef FARPROC LOCALE_ENUMPROCW; typedef FARPROC LOCALE_ENUMPROCW;
typedef FARPROC TIMEFMT_ENUMPROCA; typedef FARPROC TIMEFMT_ENUMPROCA;
typedef FARPROC TIMEFMT_ENUMPROCW; typedef FARPROC TIMEFMT_ENUMPROCW;
typedef FARPROC LANGUAGEGROUP_ENUMPROCA;
typedef FARPROC LANGUAGEGROUP_ENUMPROCW;
#endif /* STRICT */ #endif /* STRICT */
DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROC) DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROC)
......
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