From 0ee5b475ccd925eef983e42b6766e37226b27a5a Mon Sep 17 00:00:00 2001
From: Martin Storsjo <martin@martin.st>
Date: Wed, 8 Jan 2014 14:48:22 +0200
Subject: [PATCH] api-ms-win-core-debug-l1-1-1: Add stub dll.

---
 configure                                                | 2 ++
 configure.ac                                             | 1 +
 dlls/api-ms-win-core-debug-l1-1-1/Makefile.in            | 1 +
 .../api-ms-win-core-debug-l1-1-1.spec                    | 9 +++++++++
 tools/make_specfiles                                     | 1 +
 5 files changed, 14 insertions(+)
 create mode 100644 dlls/api-ms-win-core-debug-l1-1-1/Makefile.in
 create mode 100644 dlls/api-ms-win-core-debug-l1-1-1/api-ms-win-core-debug-l1-1-1.spec

diff --git a/configure b/configure
index 5eae8a0dcab..4a16c55627c 100755
--- a/configure
+++ b/configure
@@ -853,6 +853,7 @@ enable_actxprxy
 enable_advapi32
 enable_advpack
 enable_amstream
+enable_api_ms_win_core_debug_l1_1_1
 enable_api_ms_win_core_localregistry_l1_1_0
 enable_api_ms_win_core_processthreads_l1_1_0
 enable_api_ms_win_core_processthreads_l1_1_1
@@ -16565,6 +16566,7 @@ wine_fn_config_dll advpack enable_advpack implib
 wine_fn_config_test dlls/advpack/tests advpack_test
 wine_fn_config_dll amstream enable_amstream clean
 wine_fn_config_test dlls/amstream/tests amstream_test
+wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
diff --git a/configure.ac b/configure.ac
index 58ebafcb905..4e357526134 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2625,6 +2625,7 @@ WINE_CONFIG_DLL(advpack,,[implib])
 WINE_CONFIG_TEST(dlls/advpack/tests)
 WINE_CONFIG_DLL(amstream,,[clean])
 WINE_CONFIG_TEST(dlls/amstream/tests)
+WINE_CONFIG_DLL(api-ms-win-core-debug-l1-1-1)
 WINE_CONFIG_DLL(api-ms-win-core-localregistry-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-processthreads-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-processthreads-l1-1-1)
diff --git a/dlls/api-ms-win-core-debug-l1-1-1/Makefile.in b/dlls/api-ms-win-core-debug-l1-1-1/Makefile.in
new file mode 100644
index 00000000000..b3134a24aef
--- /dev/null
+++ b/dlls/api-ms-win-core-debug-l1-1-1/Makefile.in
@@ -0,0 +1 @@
+MODULE    = api-ms-win-core-debug-l1-1-1.dll
diff --git a/dlls/api-ms-win-core-debug-l1-1-1/api-ms-win-core-debug-l1-1-1.spec b/dlls/api-ms-win-core-debug-l1-1-1/api-ms-win-core-debug-l1-1-1.spec
new file mode 100644
index 00000000000..bbee258a49d
--- /dev/null
+++ b/dlls/api-ms-win-core-debug-l1-1-1/api-ms-win-core-debug-l1-1-1.spec
@@ -0,0 +1,9 @@
+@ stdcall CheckRemoteDebuggerPresent(long ptr) kernel32.CheckRemoteDebuggerPresent
+@ stdcall ContinueDebugEvent(long long long) kernel32.ContinueDebugEvent
+@ stdcall DebugActiveProcess(long) kernel32.DebugActiveProcess
+@ stdcall DebugActiveProcessStop(long) kernel32.DebugActiveProcessStop
+@ stdcall DebugBreak() kernel32.DebugBreak
+@ stdcall IsDebuggerPresent() kernel32.IsDebuggerPresent
+@ stdcall OutputDebugStringA(str) kernel32.OutputDebugStringA
+@ stdcall OutputDebugStringW(wstr) kernel32.OutputDebugStringW
+@ stdcall WaitForDebugEvent(ptr long) kernel32.WaitForDebugEvent
diff --git a/tools/make_specfiles b/tools/make_specfiles
index 89c8f9f8be7..3c3c1d362c9 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -137,6 +137,7 @@ my @dll_groups =
   "api-ms-win-downlevel-normaliz-l1-1-0",
   "api-ms-win-core-processthreads-l1-1-0",
   "api-ms-win-core-processthreads-l1-1-1",
+  "api-ms-win-core-debug-l1-1-1",
  ],
  [
   "ole32",
-- 
GitLab