From fc1dc668650a2d74c84b634a86e1dc3c8368988d Mon Sep 17 00:00:00 2001
From: Martin Storsjo <martin@martin.st>
Date: Thu, 7 May 2015 23:03:03 +0300
Subject: [PATCH] api-ms-win-core-sysinfo-l1-1-0: Add stub dll.

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

diff --git a/configure b/configure
index d2d35309993..d1ab751c15a 100755
--- a/configure
+++ b/configure
@@ -901,6 +901,7 @@ enable_api_ms_win_core_shlwapi_legacy_l1_1_0
 enable_api_ms_win_core_string_l1_1_0
 enable_api_ms_win_core_synch_l1_1_0
 enable_api_ms_win_core_synch_l1_2_0
+enable_api_ms_win_core_sysinfo_l1_1_0
 enable_api_ms_win_core_sysinfo_l1_2_0
 enable_api_ms_win_core_sysinfo_l1_2_1
 enable_api_ms_win_core_threadpool_legacy_l1_1_0
@@ -17046,6 +17047,7 @@ wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_
 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
+wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
diff --git a/configure.ac b/configure.ac
index 31c81479713..cb024c5e76a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2737,6 +2737,7 @@ WINE_CONFIG_DLL(api-ms-win-core-shlwapi-legacy-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-string-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-synch-l1-1-0)
 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-legacy-l1-1-0)
diff --git a/dlls/api-ms-win-core-sysinfo-l1-1-0/Makefile.in b/dlls/api-ms-win-core-sysinfo-l1-1-0/Makefile.in
new file mode 100644
index 00000000000..63458724a4f
--- /dev/null
+++ b/dlls/api-ms-win-core-sysinfo-l1-1-0/Makefile.in
@@ -0,0 +1 @@
+MODULE    = api-ms-win-core-sysinfo-l1-1-0.dll
diff --git a/dlls/api-ms-win-core-sysinfo-l1-1-0/api-ms-win-core-sysinfo-l1-1-0.spec b/dlls/api-ms-win-core-sysinfo-l1-1-0/api-ms-win-core-sysinfo-l1-1-0.spec
new file mode 100644
index 00000000000..5044394c3e7
--- /dev/null
+++ b/dlls/api-ms-win-core-sysinfo-l1-1-0/api-ms-win-core-sysinfo-l1-1-0.spec
@@ -0,0 +1,28 @@
+@ stdcall GetComputerNameExA(long ptr ptr) kernel32.GetComputerNameExA
+@ stdcall GetComputerNameExW(long ptr ptr) kernel32.GetComputerNameExW
+@ stdcall GetDynamicTimeZoneInformation(ptr) kernel32.GetDynamicTimeZoneInformation
+@ stdcall GetLocalTime(ptr) kernel32.GetLocalTime
+@ stdcall GetLogicalProcessorInformation(ptr ptr) kernel32.GetLogicalProcessorInformation
+@ stdcall GetLogicalProcessorInformationEx(long ptr ptr) kernel32.GetLogicalProcessorInformationEx
+@ stdcall GetSystemDirectoryA(ptr long) kernel32.GetSystemDirectoryA
+@ stdcall GetSystemDirectoryW(ptr long) kernel32.GetSystemDirectoryW
+@ stdcall GetSystemInfo(ptr) kernel32.GetSystemInfo
+@ stdcall GetSystemTime(ptr) kernel32.GetSystemTime
+@ stdcall GetSystemTimeAdjustment(ptr ptr ptr) kernel32.GetSystemTimeAdjustment
+@ stdcall GetSystemTimeAsFileTime(ptr) kernel32.GetSystemTimeAsFileTime
+@ stdcall GetSystemWindowsDirectoryA(ptr long) kernel32.GetSystemWindowsDirectoryA
+@ stdcall GetSystemWindowsDirectoryW(ptr long) kernel32.GetSystemWindowsDirectoryW
+@ stdcall -ret64 GetTickCount64() kernel32.GetTickCount64
+@ stdcall GetTickCount() kernel32.GetTickCount
+@ stdcall GetTimeZoneInformation(ptr) kernel32.GetTimeZoneInformation
+@ stub GetTimeZoneInformationForYear
+@ stdcall GetVersion() kernel32.GetVersion
+@ stdcall GetVersionExA(ptr) kernel32.GetVersionExA
+@ stdcall GetVersionExW(ptr) kernel32.GetVersionExW
+@ stdcall GetWindowsDirectoryA(ptr long) kernel32.GetWindowsDirectoryA
+@ stdcall GetWindowsDirectoryW(ptr long) kernel32.GetWindowsDirectoryW
+@ stdcall GlobalMemoryStatusEx(ptr) kernel32.GlobalMemoryStatusEx
+@ stdcall SetLocalTime(ptr) kernel32.SetLocalTime
+@ stdcall SystemTimeToFileTime(ptr ptr) kernel32.SystemTimeToFileTime
+@ stdcall SystemTimeToTzSpecificLocalTime(ptr ptr ptr) kernel32.SystemTimeToTzSpecificLocalTime
+@ stdcall TzSpecificLocalTimeToSystemTime(ptr ptr ptr) kernel32.TzSpecificLocalTimeToSystemTime
diff --git a/tools/make_specfiles b/tools/make_specfiles
index ef78d11bf28..164d4f0826f 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -148,6 +148,7 @@ my @dll_groups =
   "api-ms-win-core-interlocked-l1-2-0",
   "api-ms-win-core-profile-l1-1-0",
   "api-ms-win-core-string-l1-1-0",
+  "api-ms-win-core-sysinfo-l1-1-0",
   "api-ms-win-core-sysinfo-l1-2-0",
   "api-ms-win-core-util-l1-1-0",
   "api-ms-win-core-synch-l1-1-0",
-- 
GitLab