From 0df25df8288ca63d991545029b4ec28b8b512b38 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 18 Jan 2017 16:38:26 -0600 Subject: [PATCH] kernel32: Add BaseFlushAppcompatCache stub. Signed-off-by: Austin English Signed-off-by: Alexandre Julliard --- .../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 92a96af55e6..e37c525d73b 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 224e6ae031d..06b89de24e6 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 21302407b76..17cb1db2a5d 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; +}