Austin English : kernel32: Add BaseFlushAppcompatCache stub.

Alexandre Julliard julliard at winehq.org
Thu Apr 20 12:35:10 CDT 2017


Module: wine
Branch: stable
Commit: fcafe0049de366b0f658b3d9bae975a62f37b218
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fcafe0049de366b0f658b3d9bae975a62f37b218

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Jan 18 16:38:26 2017 -0600

kernel32: Add BaseFlushAppcompatCache stub.

Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 0df25df8288ca63d991545029b4ec28b8b512b38)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 .../api-ms-win-core-appcompat-l1-1-1.spec                      |  2 +-
 dlls/kernel32/kernel32.spec                                    |  4 ++--
 dlls/kernel32/process.c                                        | 10 ++++++++++
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/dlls/api-ms-win-core-appcompat-l1-1-1/api-ms-win-core-appcompat-l1-1-1.spec b/dlls/api-ms-win-core-appcompat-l1-1-1/api-ms-win-core-appcompat-l1-1-1.spec
index 92a96af..e37c525 100644
--- a/dlls/api-ms-win-core-appcompat-l1-1-1/api-ms-win-core-appcompat-l1-1-1.spec
+++ b/dlls/api-ms-win-core-appcompat-l1-1-1/api-ms-win-core-appcompat-l1-1-1.spec
@@ -2,7 +2,7 @@
 @ stub BaseCheckAppcompatCacheEx
 @ stub BaseCleanupAppcompatCacheSupport
 @ stub BaseDumpAppcompatCache
-@ stub BaseFlushAppcompatCache
+@ stdcall BaseFlushAppcompatCache() kernel32.BaseFlushAppcompatCache
 @ stub BaseFreeAppCompatDataForProcess
 @ stub BaseInitAppcompatCacheSupport
 @ stub BaseIsAppcompatInfrastructureDisabled
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 224e6ae..06b89de 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -167,11 +167,11 @@
 @ stub BaseCheckAppcompatCache
 # @ stub BaseCheckAppcompatCacheEx
 # @ stub BaseCheckRunApp
-@ stub BaseCleanupAppcompatCache 
+@ stub BaseCleanupAppcompatCache
 @ stub BaseCleanupAppcompatCacheSupport
 # @ stub BaseDllReadWriteIniFile
 @ stub BaseDumpAppcompatCache
-@ stub BaseFlushAppcompatCache
+@ stdcall BaseFlushAppcompatCache()
 # @ stub BaseFormatObjectAttributes
 # @ stub BaseFormatTimeOut
 # @ stub BaseGenerateAppCompatData
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 2130240..17cb1db 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -4207,3 +4207,13 @@ void WINAPI DeleteProcThreadAttributeList(struct _PROC_THREAD_ATTRIBUTE_LIST *li
 {
     return;
 }
+
+/**********************************************************************
+ *           BaseFlushAppcompatCache     (KERNEL32.@)
+ */
+BOOL WINAPI BaseFlushAppcompatCache(void)
+{
+    FIXME(": stub\n");
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}




More information about the wine-cvs mailing list