kernel32: add a stub for LCMapStringEx (try 2)
Austin English
austinenglish at gmail.com
Sat Jan 28 15:16:14 CST 2012
Forgot the include changes.
--
-Austin
-------------- next part --------------
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 072cfa1..987824e 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -804,6 +804,7 @@
@ stdcall LCIDToLocaleName(long ptr long long)
@ stdcall LCMapStringA(long long str long ptr long)
@ stdcall LCMapStringW(long long wstr long ptr long)
+@ stdcall LCMapStringEx(wstr long wstr long wstr long ptr ptr ptr)
@ stdcall LZClose(long)
# @ stub LZCloseFile
@ stdcall LZCopy(long long)
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 2c3760c..61bf046 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -3908,3 +3908,13 @@ INT WINAPI IdnToUnicode(DWORD dwFlags, LPCWSTR lpASCIICharStr, INT cchASCIIChar,
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
+
+/******************************************************************************
+ * LCMapStringEx (KERNEL32.@)
+ */
+INT WINAPI LCMapStringEx(LPCWSTR locale, DWORD mapflags, LPCWSTR srcstring, int src, LPWSTR deststring, int dest, LPNLSVERSIONINFO versioninfo, LPVOID reserved, LPARAM lparam)
+{
+ FIXME("%p %d %p %d %p %d %p %lx\n", locale, mapflags, srcstring, src, deststring, dest, versioninfo, lparam);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return 0;
+}
diff --git a/include/winnls.h b/include/winnls.h
index de6f875..dc09911 100644
--- a/include/winnls.h
+++ b/include/winnls.h
@@ -731,6 +731,12 @@ enum SYSGEOCLASS
GEOCLASS_NATION = 16
};
+typedef struct _nlsversioninfo{
+ DWORD dwNLSVersionInfoSize;
+ DWORD dwNLSVersion;
+ DWORD dwDefinedVersion;
+} NLSVERSIONINFO, *LPNLSVERSIONINFO;
+
#define GEOID_NOT_AVAILABLE (-1)
More information about the wine-patches
mailing list