From 7d2d96a736db8c599c0eb455bee8bcf76f11babc Mon Sep 17 00:00:00 2001
From: Martin Storsjo <martin@martin.st>
Date: Fri, 5 Dec 2014 00:39:55 +0200
Subject: [PATCH] api-ms-win-core-errorhandling-l1-1-2: Add stub dll.

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

diff --git a/configure b/configure
index 6d94a08c408..0c8c692dac6 100755
--- a/configure
+++ b/configure
@@ -859,6 +859,7 @@ enable_api_ms_win_core_datetime_l1_1_0
 enable_api_ms_win_core_datetime_l1_1_1
 enable_api_ms_win_core_debug_l1_1_1
 enable_api_ms_win_core_errorhandling_l1_1_1
+enable_api_ms_win_core_errorhandling_l1_1_2
 enable_api_ms_win_core_fibers_l1_1_0
 enable_api_ms_win_core_fibers_l1_1_1
 enable_api_ms_win_core_file_l1_2_0
@@ -16785,6 +16786,7 @@ wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_dateti
 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
 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-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
+wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
diff --git a/configure.ac b/configure.ac
index 863f5e77bd7..87ce48c0790 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2651,6 +2651,7 @@ WINE_CONFIG_DLL(api-ms-win-core-datetime-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-datetime-l1-1-1)
 WINE_CONFIG_DLL(api-ms-win-core-debug-l1-1-1)
 WINE_CONFIG_DLL(api-ms-win-core-errorhandling-l1-1-1)
+WINE_CONFIG_DLL(api-ms-win-core-errorhandling-l1-1-2)
 WINE_CONFIG_DLL(api-ms-win-core-fibers-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-fibers-l1-1-1)
 WINE_CONFIG_DLL(api-ms-win-core-file-l1-2-0)
diff --git a/dlls/api-ms-win-core-errorhandling-l1-1-2/Makefile.in b/dlls/api-ms-win-core-errorhandling-l1-1-2/Makefile.in
new file mode 100644
index 00000000000..096f900f61b
--- /dev/null
+++ b/dlls/api-ms-win-core-errorhandling-l1-1-2/Makefile.in
@@ -0,0 +1 @@
+MODULE    = api-ms-win-core-errorhandling-l1-1-2.dll
diff --git a/dlls/api-ms-win-core-errorhandling-l1-1-2/api-ms-win-core-errorhandling-l1-1-2.spec b/dlls/api-ms-win-core-errorhandling-l1-1-2/api-ms-win-core-errorhandling-l1-1-2.spec
new file mode 100644
index 00000000000..d334d6d4179
--- /dev/null
+++ b/dlls/api-ms-win-core-errorhandling-l1-1-2/api-ms-win-core-errorhandling-l1-1-2.spec
@@ -0,0 +1,13 @@
+@ stdcall AddVectoredContinueHandler(long ptr) kernel32.AddVectoredContinueHandler
+@ stdcall AddVectoredExceptionHandler(long ptr) kernel32.AddVectoredExceptionHandler
+@ stdcall GetErrorMode() kernel32.GetErrorMode
+@ stdcall GetLastError() kernel32.GetLastError
+@ stdcall RaiseException(long long long ptr) kernel32.RaiseException
+@ stub RaiseFailFastException
+@ stdcall RemoveVectoredContinueHandler(ptr) kernel32.RemoveVectoredContinueHandler
+@ stdcall RemoveVectoredExceptionHandler(ptr) kernel32.RemoveVectoredExceptionHandler
+@ stdcall RestoreLastError(long) kernel32.RestoreLastError
+@ stdcall SetErrorMode(long) kernel32.SetErrorMode
+@ stdcall SetLastError(long) kernel32.SetLastError
+@ stdcall SetUnhandledExceptionFilter(ptr) kernel32.SetUnhandledExceptionFilter
+@ stdcall UnhandledExceptionFilter(ptr) kernel32.UnhandledExceptionFilter
diff --git a/tools/make_specfiles b/tools/make_specfiles
index 7ef15d64379..2ed820f5cd5 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -166,6 +166,7 @@ my @dll_groups =
   "api-ms-win-core-datetime-l1-1-0",
   "api-ms-win-core-datetime-l1-1-1",
   "api-ms-win-core-xstate-l2-1-0",
+  "api-ms-win-core-errorhandling-l1-1-2",
  ],
  [
   "ole32",
-- 
GitLab