[PATCH 19/29] api-ms-win-core-rtlsupport-l1-2-0: Add stub dll.

Martin Storsjo martin at martin.st
Tue Feb 4 07:55:40 CST 2014


---
I'm not sure if this should use the -register flag - the
corresponding functions in ntdll have that set at least.
(I haven't got things working far enough to see whether
this actually makes a difference or not.)
---
 configure                                                           | 2 ++
 configure.ac                                                        | 1 +
 dlls/api-ms-win-core-rtlsupport-l1-2-0/Makefile.in                  | 1 +
 .../api-ms-win-core-rtlsupport-l1-2-0.spec                          | 6 ++++++
 tools/make_specfiles                                                | 3 ++-
 5 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 dlls/api-ms-win-core-rtlsupport-l1-2-0/Makefile.in
 create mode 100644 dlls/api-ms-win-core-rtlsupport-l1-2-0/api-ms-win-core-rtlsupport-l1-2-0.spec

diff --git a/configure b/configure
index 4e999a9..1695f72 100755
--- a/configure
+++ b/configure
@@ -874,6 +874,7 @@ enable_api_ms_win_core_processthreads_l1_1_1
 enable_api_ms_win_core_profile_l1_1_0
 enable_api_ms_win_core_psapi_l1_1_0
 enable_api_ms_win_core_registry_l1_1_0
+enable_api_ms_win_core_rtlsupport_l1_2_0
 enable_api_ms_win_core_string_l1_1_0
 enable_api_ms_win_core_synch_l1_2_0
 enable_api_ms_win_core_sysinfo_l1_2_0
@@ -16618,6 +16619,7 @@ wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_
 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
+wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
 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-2-0 enable_api_ms_win_core_synch_l1_2_0
 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
diff --git a/configure.ac b/configure.ac
index 7f3c35b..e5e6694 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2643,6 +2643,7 @@ WINE_CONFIG_DLL(api-ms-win-core-processthreads-l1-1-1)
 WINE_CONFIG_DLL(api-ms-win-core-profile-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-psapi-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-registry-l1-1-0)
+WINE_CONFIG_DLL(api-ms-win-core-rtlsupport-l1-2-0)
 WINE_CONFIG_DLL(api-ms-win-core-string-l1-1-0)
 WINE_CONFIG_DLL(api-ms-win-core-synch-l1-2-0)
 WINE_CONFIG_DLL(api-ms-win-core-sysinfo-l1-2-0)
diff --git a/dlls/api-ms-win-core-rtlsupport-l1-2-0/Makefile.in b/dlls/api-ms-win-core-rtlsupport-l1-2-0/Makefile.in
new file mode 100644
index 0000000..9f9e5da
--- /dev/null
+++ b/dlls/api-ms-win-core-rtlsupport-l1-2-0/Makefile.in
@@ -0,0 +1 @@
+MODULE    = api-ms-win-core-rtlsupport-l1-2-0.dll
diff --git a/dlls/api-ms-win-core-rtlsupport-l1-2-0/api-ms-win-core-rtlsupport-l1-2-0.spec b/dlls/api-ms-win-core-rtlsupport-l1-2-0/api-ms-win-core-rtlsupport-l1-2-0.spec
new file mode 100644
index 0000000..7ef9c6d
--- /dev/null
+++ b/dlls/api-ms-win-core-rtlsupport-l1-2-0/api-ms-win-core-rtlsupport-l1-2-0.spec
@@ -0,0 +1,6 @@
+@ stdcall -norelay RtlCaptureContext(ptr) ntdll.RtlCaptureContext
+@ stdcall RtlCaptureStackBackTrace(long long ptr ptr) ntdll.RtlCaptureStackBackTrace
+@ stdcall RtlCompareMemory(ptr ptr long) ntdll.RtlCompareMemory
+@ stdcall RtlPcToFileHeader(ptr ptr) ntdll.RtlPcToFileHeader
+@ stdcall -register RtlRaiseException(ptr) ntdll.RtlRaiseException
+@ stdcall -register RtlUnwind(ptr ptr ptr ptr) ntdll.RtlUnwind
diff --git a/tools/make_specfiles b/tools/make_specfiles
index 1dd4533..8fd9bb4 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -186,7 +186,8 @@ my @dll_groups =
  [
   "msvcrt",
   "ntdll",
-  "ntoskrnl.exe"
+  "ntoskrnl.exe",
+  "api-ms-win-core-rtlsupport-l1-2-0",
  ],
  [
   "gdi32",
-- 
1.8.1.2




More information about the wine-patches mailing list