From cc03b0abbb80b0d3295db9d89a140208bf55d9f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Thu, 21 Jan 2016 00:54:28 +0100
Subject: api-ms-win-core-threadpool-l1-2-0: Add dll.

---
 configure.ac                                       |  1 +
 dlls/api-ms-win-core-threadpool-l1-2-0/Makefile.in |  1 +
 .../api-ms-win-core-threadpool-l1-2-0.spec         | 37 ++++++++++++++++++++++
 tools/make_specfiles                               |  1 +
 4 files changed, 40 insertions(+)
 create mode 100644 dlls/api-ms-win-core-threadpool-l1-2-0/Makefile.in
 create mode 100644 dlls/api-ms-win-core-threadpool-l1-2-0/api-ms-win-core-threadpool-l1-2-0.spec

diff --git a/configure.ac b/configure.ac
index e329038..e66f269 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2688,6 +2688,7 @@ WINE_CONFIG_DLL(api-ms-win-core-synch-l1-2-0)
 WINE_CONFIG_DLL(api-ms-win-core-sysinfo-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-sysinfo-l1-2-0)
 WINE_CONFIG_DLL(api-ms-win-core-sysinfo-l1-2-1)
+WINE_CONFIG_DLL(api-ms-win-core-threadpool-l1-2-0)
 WINE_CONFIG_DLL(api-ms-win-core-threadpool-legacy-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-timezone-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-url-l1-1-0)
diff --git a/dlls/api-ms-win-core-threadpool-l1-2-0/Makefile.in b/dlls/api-ms-win-core-threadpool-l1-2-0/Makefile.in
new file mode 100644
index 0000000..fa2c09e
--- /dev/null
+++ b/dlls/api-ms-win-core-threadpool-l1-2-0/Makefile.in
@@ -0,0 +1 @@
+MODULE    = api-ms-win-core-threadpool-l1-2-0.dll
diff --git a/dlls/api-ms-win-core-threadpool-l1-2-0/api-ms-win-core-threadpool-l1-2-0.spec b/dlls/api-ms-win-core-threadpool-l1-2-0/api-ms-win-core-threadpool-l1-2-0.spec
new file mode 100644
index 0000000..870becc
--- /dev/null
+++ b/dlls/api-ms-win-core-threadpool-l1-2-0/api-ms-win-core-threadpool-l1-2-0.spec
@@ -0,0 +1,37 @@
+@ stdcall CallbackMayRunLong(ptr) kernel32.CallbackMayRunLong
+@ stub CancelThreadpoolIo
+@ stdcall CloseThreadpool(ptr) kernel32.CloseThreadpool
+@ stdcall CloseThreadpoolCleanupGroup(ptr) kernel32.CloseThreadpoolCleanupGroup
+@ stdcall CloseThreadpoolCleanupGroupMembers(ptr long ptr) kernel32.CloseThreadpoolCleanupGroupMembers
+@ stub CloseThreadpoolIo
+@ stdcall CloseThreadpoolTimer(ptr) kernel32.CloseThreadpoolTimer
+@ stdcall CloseThreadpoolWait(ptr) kernel32.CloseThreadpoolWait
+@ stdcall CloseThreadpoolWork(ptr) kernel32.CloseThreadpoolWork
+@ stdcall CreateThreadpool(ptr) kernel32.CreateThreadpool
+@ stdcall CreateThreadpoolCleanupGroup() kernel32.CreateThreadpoolCleanupGroup
+@ stub CreateThreadpoolIo
+@ stdcall CreateThreadpoolTimer(ptr ptr ptr) kernel32.CreateThreadpoolTimer
+@ stdcall CreateThreadpoolWait(ptr ptr ptr) kernel32.CreateThreadpoolWait
+@ stdcall CreateThreadpoolWork(ptr ptr ptr) kernel32.CreateThreadpoolWork
+@ stdcall DisassociateCurrentThreadFromCallback(ptr) kernel32.DisassociateCurrentThreadFromCallback
+@ stdcall FreeLibraryWhenCallbackReturns(ptr ptr) kernel32.FreeLibraryWhenCallbackReturns
+@ stdcall IsThreadpoolTimerSet(ptr) kernel32.IsThreadpoolTimerSet
+@ stdcall LeaveCriticalSectionWhenCallbackReturns(ptr ptr) kernel32.LeaveCriticalSectionWhenCallbackReturns
+@ stub QueryThreadpoolStackInformation
+@ stdcall ReleaseMutexWhenCallbackReturns(ptr long) kernel32.ReleaseMutexWhenCallbackReturns
+@ stdcall ReleaseSemaphoreWhenCallbackReturns(ptr long long) kernel32.ReleaseSemaphoreWhenCallbackReturns
+@ stdcall SetEventWhenCallbackReturns(ptr long) kernel32.SetEventWhenCallbackReturns
+@ stub SetThreadpoolStackInformation
+@ stdcall SetThreadpoolThreadMaximum(ptr long) kernel32.SetThreadpoolThreadMaximum
+@ stdcall SetThreadpoolThreadMinimum(ptr long) kernel32.SetThreadpoolThreadMinimum
+@ stdcall SetThreadpoolTimer(ptr ptr long long) kernel32.SetThreadpoolTimer
+@ stub SetThreadpoolTimerEx
+@ stdcall SetThreadpoolWait(ptr long ptr) kernel32.SetThreadpoolWait
+@ stub SetThreadpoolWaitEx
+@ stub StartThreadpoolIo
+@ stdcall SubmitThreadpoolWork(ptr) kernel32.SubmitThreadpoolWork
+@ stdcall TrySubmitThreadpoolCallback(ptr ptr ptr) kernel32.TrySubmitThreadpoolCallback
+@ stub WaitForThreadpoolIoCallbacks
+@ stdcall WaitForThreadpoolTimerCallbacks(ptr long) kernel32.WaitForThreadpoolTimerCallbacks
+@ stdcall WaitForThreadpoolWaitCallbacks(ptr long) kernel32.WaitForThreadpoolWaitCallbacks
+@ stdcall WaitForThreadpoolWorkCallbacks(ptr long) kernel32.WaitForThreadpoolWorkCallbacks
diff --git a/tools/make_specfiles b/tools/make_specfiles
index 8b63c60..7761136 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -199,6 +199,7 @@ my @dll_groups =
   "api-ms-win-core-processenvironment-l1-1-0",
   "api-ms-win-core-processenvironment-l1-2-0",
   "api-ms-win-core-psapi-l1-1-0",
+  "api-ms-win-core-threadpool-l1-2-0",
   "api-ms-win-core-threadpool-legacy-l1-1-0",
   "api-ms-win-core-timezone-l1-1-0",
   "api-ms-win-core-file-l2-1-1",
-- 
2.6.4

