Mark Harmstone : kernel32: Stub out GetFileMUIPath.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Apr 6 10:34:18 CDT 2015
Module: wine
Branch: master
Commit: ed0c6746dd66f88939ee7623c521f81aa6704f5d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ed0c6746dd66f88939ee7623c521f81aa6704f5d
Author: Mark Harmstone <hellas at burntcomma.com>
Date: Sat Apr 4 17:09:09 2015 +0100
kernel32: Stub out GetFileMUIPath.
---
.../api-ms-win-core-localization-l1-2-0.spec | 2 +-
.../api-ms-win-core-localization-l1-2-1.spec | 2 +-
dlls/kernel32/kernel32.spec | 2 +-
dlls/kernel32/locale.c | 15 +++++++++++++++
4 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/dlls/api-ms-win-core-localization-l1-2-0/api-ms-win-core-localization-l1-2-0.spec b/dlls/api-ms-win-core-localization-l1-2-0/api-ms-win-core-localization-l1-2-0.spec
index e2a7bed..d5daa65 100644
--- a/dlls/api-ms-win-core-localization-l1-2-0/api-ms-win-core-localization-l1-2-0.spec
+++ b/dlls/api-ms-win-core-localization-l1-2-0/api-ms-win-core-localization-l1-2-0.spec
@@ -12,7 +12,7 @@
@ stdcall GetCalendarInfoEx(wstr long ptr long ptr long ptr) kernel32.GetCalendarInfoEx
@ stdcall GetCalendarInfoW(long long long ptr long ptr) kernel32.GetCalendarInfoW
@ stub GetFileMUIInfo
-@ stub GetFileMUIPath
+@ stdcall GetFileMUIPath(long wstr wstr ptr ptr ptr ptr) kernel32.GetFileMUIPath
@ stdcall GetGeoInfoW(long long ptr long long) kernel32.GetGeoInfoW
@ stdcall GetLocaleInfoA(long long ptr long) kernel32.GetLocaleInfoA
@ stdcall GetLocaleInfoEx(wstr long ptr long) kernel32.GetLocaleInfoEx
diff --git a/dlls/api-ms-win-core-localization-l1-2-1/api-ms-win-core-localization-l1-2-1.spec b/dlls/api-ms-win-core-localization-l1-2-1/api-ms-win-core-localization-l1-2-1.spec
index 32d2c76..50e113e 100644
--- a/dlls/api-ms-win-core-localization-l1-2-1/api-ms-win-core-localization-l1-2-1.spec
+++ b/dlls/api-ms-win-core-localization-l1-2-1/api-ms-win-core-localization-l1-2-1.spec
@@ -13,7 +13,7 @@
@ stdcall GetCalendarInfoEx(wstr long ptr long ptr long ptr) kernel32.GetCalendarInfoEx
@ stdcall GetCalendarInfoW(long long long ptr long ptr) kernel32.GetCalendarInfoW
@ stub GetFileMUIInfo
-@ stub GetFileMUIPath
+@ stdcall GetFileMUIPath(long wstr wstr ptr ptr ptr ptr) kernel32.GetFileMUIPath
@ stdcall GetGeoInfoW(long long ptr long long) kernel32.GetGeoInfoW
@ stdcall GetLocaleInfoA(long long ptr long) kernel32.GetLocaleInfoA
@ stdcall GetLocaleInfoEx(wstr long ptr long) kernel32.GetLocaleInfoEx
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index d94c307..130affc 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -677,7 +677,7 @@
@ stdcall GetFileInformationByHandle(long ptr)
@ stdcall GetFileInformationByHandleEx(long long ptr long)
# @ stub GetFileMUIInfo
-# @ stub GetFileMUIPath
+@ stdcall GetFileMUIPath(long wstr wstr ptr ptr ptr ptr)
@ stdcall GetFileSize(long ptr)
@ stdcall GetFileSizeEx(long ptr)
@ stdcall GetFileTime(long ptr ptr ptr)
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 7798b91..9896872 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -5300,3 +5300,18 @@ BOOL WINAPI GetUserPreferredUILanguages(DWORD flags, PULONG numlangs, PZZWSTR la
FIXME( "stub: %u %p %p %p\n", flags, numlangs, langbuffer, bufferlen );
return FALSE;
}
+
+/******************************************************************************
+ * GetFileMUIPath (KERNEL32.@)
+ */
+
+BOOL WINAPI GetFileMUIPath(DWORD flags, PCWSTR filepath, PWSTR language, PULONG languagelen,
+ PWSTR muipath, PULONG muipathlen, PULONGLONG enumerator)
+{
+ FIXME("stub: 0x%x, %s, %s, %p, %p, %p, %p\n", flags, debugstr_w(filepath),
+ debugstr_w(language), languagelen, muipath, muipathlen, enumerator);
+
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+
+ return FALSE;
+}
More information about the wine-cvs
mailing list