From be974da9f6d245c21b0e4c0d35a939360d6fbadb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= <nerv@dawncrow.de>
Date: Fri, 7 Sep 2018 14:06:38 +0200
Subject: [PATCH] api-ms-win-core-comm-l1-1-0: Add dll.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
---
 configure                                      |  2 ++
 configure.ac                                   |  1 +
 dlls/api-ms-win-core-comm-l1-1-0/Makefile.in   |  1 +
 .../api-ms-win-core-comm-l1-1-0.spec           | 18 ++++++++++++++++++
 tools/make_specfiles                           |  1 +
 5 files changed, 23 insertions(+)
 create mode 100644 dlls/api-ms-win-core-comm-l1-1-0/Makefile.in
 create mode 100644 dlls/api-ms-win-core-comm-l1-1-0/api-ms-win-core-comm-l1-1-0.spec

diff --git a/configure b/configure
index b800fd269a8..c9ab5afd670 100755
--- a/configure
+++ b/configure
@@ -911,6 +911,7 @@ enable_api_ms_win_core_bem_l1_1_0
 enable_api_ms_win_core_com_l1_1_0
 enable_api_ms_win_core_com_l1_1_1
 enable_api_ms_win_core_com_private_l1_1_0
+enable_api_ms_win_core_comm_l1_1_0
 enable_api_ms_win_core_console_l1_1_0
 enable_api_ms_win_core_console_l2_1_0
 enable_api_ms_win_core_crt_l1_1_0
@@ -19005,6 +19006,7 @@ wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_b
 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
+wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
diff --git a/configure.ac b/configure.ac
index d7d5e8e6ae2..69f641ddd9c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2864,6 +2864,7 @@ WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-bem-l1-1-0)
 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-com-l1-1-0)
 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-com-l1-1-1)
 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-com-private-l1-1-0)
+WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-comm-l1-1-0)
 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-console-l1-1-0)
 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-console-l2-1-0)
 WINE_CONFIG_MAKEFILE(dlls/api-ms-win-core-crt-l1-1-0)
diff --git a/dlls/api-ms-win-core-comm-l1-1-0/Makefile.in b/dlls/api-ms-win-core-comm-l1-1-0/Makefile.in
new file mode 100644
index 00000000000..1780e2418de
--- /dev/null
+++ b/dlls/api-ms-win-core-comm-l1-1-0/Makefile.in
@@ -0,0 +1 @@
+MODULE    = api-ms-win-core-comm-l1-1-0.dll
diff --git a/dlls/api-ms-win-core-comm-l1-1-0/api-ms-win-core-comm-l1-1-0.spec b/dlls/api-ms-win-core-comm-l1-1-0/api-ms-win-core-comm-l1-1-0.spec
new file mode 100644
index 00000000000..4842c98f10a
--- /dev/null
+++ b/dlls/api-ms-win-core-comm-l1-1-0/api-ms-win-core-comm-l1-1-0.spec
@@ -0,0 +1,18 @@
+@ stdcall ClearCommBreak(long) kernel32.ClearCommBreak
+@ stdcall ClearCommError(long ptr ptr) kernel32.ClearCommError
+@ stdcall EscapeCommFunction(long long) kernel32.EscapeCommFunction
+@ stdcall GetCommConfig(long ptr ptr) kernel32.GetCommConfig
+@ stdcall GetCommMask(long ptr) kernel32.GetCommMask
+@ stdcall GetCommModemStatus(long ptr) kernel32.GetCommModemStatus
+@ stdcall GetCommProperties(long ptr) kernel32.GetCommProperties
+@ stdcall GetCommState(long ptr) kernel32.GetCommState
+@ stdcall GetCommTimeouts(long ptr) kernel32.GetCommTimeouts
+@ stdcall PurgeComm(long long) kernel32.PurgeComm
+@ stdcall SetCommBreak(long) kernel32.SetCommBreak
+@ stdcall SetCommConfig(long ptr long) kernel32.SetCommConfig
+@ stdcall SetCommMask(long long) kernel32.SetCommMask
+@ stdcall SetCommState(long ptr) kernel32.SetCommState
+@ stdcall SetCommTimeouts(long ptr) kernel32.SetCommTimeouts
+@ stdcall SetupComm(long long long) kernel32.SetupComm
+@ stdcall TransmitCommChar(long long) kernel32.TransmitCommChar
+@ stdcall WaitCommEvent(long ptr ptr) kernel32.WaitCommEvent
diff --git a/tools/make_specfiles b/tools/make_specfiles
index cd3af877bb3..24514fcbdde 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -198,6 +198,7 @@ my @dll_groups =
   "api-ms-win-downlevel-normaliz-l1-1-0",
   "api-ms-win-core-appcompat-l1-1-1",
   "api-ms-win-core-atoms-l1-1-0",
+  "api-ms-win-core-comm-l1-1-0",
   "api-ms-win-core-debug-l1-1-0",
   "api-ms-win-core-debug-l1-1-1",
   "api-ms-win-core-delayload-l1-1-0",
-- 
GitLab