From d0688788458f243ccef2c337d7ab8f59ead75a3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Thu, 4 Feb 2016 06:19:57 +0100
Subject: kernelbase: Add stub for QuirkIsEnabled3.

---
 .../api-ms-win-core-quirks-l1-1-0.spec                         |  2 +-
 dlls/kernelbase/kernelbase.spec                                |  2 +-
 dlls/kernelbase/misc.c                                         | 10 ++++++++++
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec b/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec
index 54ce373..1485512 100644
--- a/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec
+++ b/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec
@@ -2,7 +2,7 @@
 @ stub QuirkGetData2
 @ stdcall QuirkIsEnabled(ptr) kernelbase.QuirkIsEnabled
 @ stub QuirkIsEnabled2
-@ stub QuirkIsEnabled3
+@ stdcall QuirkIsEnabled3(ptr ptr) kernelbase.QuirkIsEnabled3
 @ stub QuirkIsEnabledForPackage
 @ stub QuirkIsEnabledForPackage2
 @ stub QuirkIsEnabledForProcess
diff --git a/dlls/kernelbase/kernelbase.spec b/dlls/kernelbase/kernelbase.spec
index 8fdb80d..c0b2594 100644
--- a/dlls/kernelbase/kernelbase.spec
+++ b/dlls/kernelbase/kernelbase.spec
@@ -1189,7 +1189,7 @@
 @ stub QuirkGetData2
 @ stdcall QuirkIsEnabled(ptr)
 @ stub QuirkIsEnabled2
-@ stub QuirkIsEnabled3
+@ stdcall QuirkIsEnabled3(ptr ptr)
 @ stub QuirkIsEnabledForPackage
 @ stub QuirkIsEnabledForPackage2
 @ stub QuirkIsEnabledForPackage3
diff --git a/dlls/kernelbase/misc.c b/dlls/kernelbase/misc.c
index be1591a..e703e6d 100644
--- a/dlls/kernelbase/misc.c
+++ b/dlls/kernelbase/misc.c
@@ -35,3 +35,13 @@ BOOL WINAPI QuirkIsEnabled(void *arg)
     FIXME("(%p): stub\n", arg);
     return FALSE;
 }
+
+/***********************************************************************
+ *           QuirkIsEnabled3   (KERNELBASE.@)
+ */
+BOOL WINAPI QuirkIsEnabled3(void *arg1, void *arg2)
+{
+    static int once;
+    if (!once++) FIXME("(%p, %p): stub\n", arg1, arg2);
+    return FALSE;
+}
-- 
2.7.1

