Author: fireball
Date: Mon Jul 22 14:45:31 2013
New Revision: 59556
URL:
http://svn.reactos.org/svn/reactos?rev=59556&view=rev
Log:
[KERNEL32]
- Stub MUI support functions (by Edison Henrique Andreassy). Don't export them yet
(they need to be checked according to the Windows version, so that kernel32 export table
matches our target).
Added:
trunk/reactos/dll/win32/kernel32/winnls/string/mui.c (with props)
Modified:
trunk/reactos/dll/win32/kernel32/CMakeLists.txt
Modified: trunk/reactos/dll/win32/kernel32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/CMakeLists.txt [iso-8859-1] Mon Jul 22 14:45:31 2013
@@ -75,6 +75,7 @@
winnls/string/lang.c
winnls/string/lcformat.c
winnls/string/lstring.c
+ winnls/string/mui.c
winnls/string/nls.c
winnls/string/sortkey.c
kernel32.rc
Added: trunk/reactos/dll/win32/kernel32/winnls/string/mui.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/winnls/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/winnls/string/mui.c (added)
+++ trunk/reactos/dll/win32/kernel32/winnls/string/mui.c [iso-8859-1] Mon Jul 22 14:45:31
2013
@@ -0,0 +1,183 @@
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: dll/win32/kernel32/winnls/mui.c
+ * PURPOSE: MUI support functions
+ * PROGRAMMERS: Edison Henrique Andreassy (ehasis(a)hotmail.com)
+ */
+
+/* INCLUDES ******************************************************************/
+#include <k32.h>
+
+#define NDEBUG
+#include <debug.h>
+
+/*
+ References:
+ Evolution of MUI Support across Windows Versions:
http://msdn.microsoft.com/en-US/library/ee264317.aspx
+ Comparing Windows XP Professional Multilingual Options:
http://technet.microsoft.com/en-us/library/bb457045.aspx
+
+ More info:
+
http://msdn.microsoft.com/en-us/goglobal/bb978454.aspx
+
http://msdn.microsoft.com/en-us/library/dd319074.aspx
+*/
+
+/* FUNCTIONS *****************************************************************/
+
+BOOL
+WINAPI
+GetFileMUIInfo(
+ DWORD dwFlags,
+ PCWSTR pcwszFilePath,
+ PFILEMUIINFO pFileMUIInfo,
+ DWORD *pcbFileMUIInfo)
+{
+ DPRINT1("%x %p %p %p\n", dwFlags, pcwszFilePath, pFileMUIInfo,
pcbFileMUIInfo);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+GetFileMUIPath(
+ DWORD dwFlags,
+ PCWSTR pcwszFilePath,
+ PWSTR pwszLanguage,
+ PULONG pcchLanguage,
+ PWSTR pwszFileMUIPath,
+ PULONG pcchFileMUIPath,
+ PULONGLONG pululEnumerator)
+{
+ DPRINT1("%x %p %p %p %p %p\n", dwFlags, pcwszFilePath, pwszLanguage,
pwszFileMUIPath, pcchFileMUIPath, pululEnumerator);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+GetProcessPreferredUILanguages(
+ DWORD dwFlags,
+ PULONG pulNumLanguages,
+ PZZWSTR pwszLanguagesBuffer,
+ PULONG pcchLanguagesBuffer)
+{
+ DPRINT1("%x %p %p %p\n", dwFlags, pulNumLanguages, pwszLanguagesBuffer,
pcchLanguagesBuffer);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/*
+* @unimplemented
+*/
+BOOL
+WINAPI
+GetSystemPreferredUILanguages(
+ DWORD dwFlags,
+ PULONG pulNumLanguages,
+ PZZWSTR pwszLanguagesBuffer,
+ PULONG pcchLanguagesBuffer)
+{
+ DPRINT1("%x %p %p %p\n", dwFlags, pulNumLanguages, pwszLanguagesBuffer,
pcchLanguagesBuffer);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+GetThreadPreferredUILanguages(
+ DWORD dwFlags,
+ PULONG pulNumLanguages,
+ PZZWSTR pwszLanguagesBuffer,
+ PULONG pcchLanguagesBuffer)
+{
+ DPRINT1("%x %p %p %p\n", dwFlags, pulNumLanguages, pwszLanguagesBuffer,
pcchLanguagesBuffer);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+LANGID
+WINAPI
+GetThreadUILanguage(VOID)
+{
+ UNIMPLEMENTED;
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+GetUILanguageInfo(
+ DWORD dwFlags,
+ PCZZWSTR pwmszLanguage,
+ PZZWSTR pwszFallbackLanguages,
+ PDWORD pcchFallbackLanguages,
+ PDWORD pdwAttributes)
+{
+ DPRINT1("%x %p %p %p %p\n", dwFlags, pwmszLanguage, pwszFallbackLanguages,
pcchFallbackLanguages, pdwAttributes);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+GetUserPreferredUILanguages(
+ DWORD dwFlags,
+ PULONG pulNumLanguages,
+ PZZWSTR pwszLanguagesBuffer,
+ PULONG pcchLanguagesBuffer)
+{
+ DPRINT1("%x %p %p %p\n", dwFlags, pulNumLanguages, pwszLanguagesBuffer,
pcchLanguagesBuffer);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+SetProcessPreferredUILanguages(
+ DWORD dwFlags,
+ PCZZWSTR pwszLanguagesBuffer,
+ PULONG pulNumLanguages)
+{
+ DPRINT1("%x %p %p\n", dwFlags, pwszLanguagesBuffer, pulNumLanguages);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+
+/*
+ * @unimplemented
+ */
+BOOL
+WINAPI
+SetThreadPreferredUILanguages(
+ DWORD dwFlags,
+ PCZZWSTR pwszLanguagesBuffer,
+ PULONG pulNumLanguages
+ )
+{
+ DPRINT1("%x %p %p\n", dwFlags, pwszLanguagesBuffer, pulNumLanguages);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
Propchange: trunk/reactos/dll/win32/kernel32/winnls/string/mui.c
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/reactos/dll/win32/kernel32/winnls/string/mui.c
------------------------------------------------------------------------------
svn:mime-type = text/plain