resend : Stub for EnumSystemLanguageGroups{A|W}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I resend it with proper fixme.


Changelog
  * Stubs for EnumSystemLanguageGroups{A|W}
-- 
Maxime Bellengà <maxime.bellenge@laposte.net>
Index: wine/dlls/kernel/kernel32.spec
===================================================================
RCS file: /home/wine/wine/dlls/kernel/kernel32.spec,v
retrieving revision 1.96
diff -u -r1.96 kernel32.spec
--- wine/dlls/kernel/kernel32.spec	20 Mar 2003 03:53:14 -0000	1.96
+++ wine/dlls/kernel/kernel32.spec	25 Mar 2003 07:19:00 -0000
@@ -253,8 +253,8 @@
 @ stdcall EnumSystemCodePagesA(ptr long)
 @ stdcall EnumSystemCodePagesW(ptr long)
 @ stub EnumSystemGeoID
-@ stub EnumSystemLanguageGroupsA
-@ stub EnumSystemLanguageGroupsW
+@ stdcall EnumSystemLanguageGroupsA(ptr long ptr)
+@ stdcall EnumSystemLanguageGroupsW(ptr long ptr)
 @ stdcall EnumSystemLocalesA(ptr long)
 @ stdcall EnumSystemLocalesW(ptr long)
 @ stdcall EnumTimeFormatsA(ptr long long)
Index: wine/dlls/kernel/locale.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/locale.c,v
retrieving revision 1.6
diff -u -r1.6 locale.c
--- wine/dlls/kernel/locale.c	20 Mar 2003 23:43:14 -0000	1.6
+++ wine/dlls/kernel/locale.c	25 Mar 2003 07:19:01 -0000
@@ -1012,3 +1012,31 @@
     CODEPAGE_Init( ansi, oem, mac, 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;
+}
Index: wine/include/winnls.h
===================================================================
RCS file: /home/wine/wine/include/winnls.h,v
retrieving revision 1.39
diff -u -r1.39 winnls.h
--- wine/include/winnls.h	3 Jan 2003 19:12:55 -0000	1.39
+++ wine/include/winnls.h	25 Mar 2003 07:19:25 -0000
@@ -340,6 +340,9 @@
 /* Types
  */
 
+// Language Group ID
+typedef DWORD LGRPID;
+
 typedef DWORD LCTYPE;
 typedef DWORD CALTYPE;
 typedef DWORD CALID;
@@ -440,6 +443,8 @@
 typedef BOOL    (CALLBACK *LOCALE_ENUMPROCW)(LPWSTR);
 typedef BOOL    (CALLBACK *TIMEFMT_ENUMPROCA)(LPSTR);
 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
 typedef FARPROC CALINFO_ENUMPROCA;
 typedef FARPROC CALINFO_ENUMPROCW;
@@ -455,6 +460,8 @@
 typedef FARPROC LOCALE_ENUMPROCW;
 typedef FARPROC TIMEFMT_ENUMPROCA;
 typedef FARPROC TIMEFMT_ENUMPROCW;
+typedef FARPROC LANGUAGEGROUP_ENUMPROCA;
+typedef FARPROC LANGUAGEGROUP_ENUMPROCW;
 #endif /* STRICT */
 
 DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROC)

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux