mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Added patch with stub for ntdll.NtContinue.
This commit is contained in:
parent
b2904214bb
commit
d36701371e
@ -0,0 +1,56 @@
|
||||
From 36164f1194aca4922459b0bd65dcf1d27158839c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Thu, 25 May 2017 05:04:26 +0200
|
||||
Subject: ntdll: Add stub for NtContinue.
|
||||
|
||||
---
|
||||
dlls/ntdll/exception.c | 10 ++++++++++
|
||||
dlls/ntdll/ntdll.spec | 4 ++--
|
||||
2 files changed, 12 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/dlls/ntdll/exception.c b/dlls/ntdll/exception.c
|
||||
index daca45aa836..4429a4217a1 100644
|
||||
--- a/dlls/ntdll/exception.c
|
||||
+++ b/dlls/ntdll/exception.c
|
||||
@@ -301,6 +301,16 @@ ULONG WINAPI RtlRemoveVectoredExceptionHandler( PVOID handler )
|
||||
}
|
||||
|
||||
|
||||
+/*********************************************************************
|
||||
+ * NtContinue (NTDLL.@)
|
||||
+ */
|
||||
+NTSTATUS WINAPI NtContinue( CONTEXT *context, BOOLEAN alert )
|
||||
+{
|
||||
+ FIXME( "(%p, %d) stub!\n", context, alert );
|
||||
+ return STATUS_NOT_IMPLEMENTED;
|
||||
+}
|
||||
+
|
||||
+
|
||||
/*************************************************************
|
||||
* __wine_spec_unimplemented_stub
|
||||
*
|
||||
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
|
||||
index 9adf1edd4a5..877a845dfa9 100644
|
||||
--- a/dlls/ntdll/ntdll.spec
|
||||
+++ b/dlls/ntdll/ntdll.spec
|
||||
@@ -128,7 +128,7 @@
|
||||
@ stdcall NtCompleteConnectPort(ptr)
|
||||
# @ stub NtCompressKey
|
||||
@ stdcall NtConnectPort(ptr ptr ptr ptr ptr ptr ptr ptr)
|
||||
-@ stub NtContinue
|
||||
+@ stdcall NtContinue(ptr long)
|
||||
# @ stub NtCreateDebugObject
|
||||
@ stdcall NtCreateDirectoryObject(ptr long ptr)
|
||||
@ stdcall NtCreateEvent(ptr long ptr long long)
|
||||
@@ -1055,7 +1055,7 @@
|
||||
@ stdcall -private ZwCompleteConnectPort(ptr) NtCompleteConnectPort
|
||||
# @ stub ZwCompressKey
|
||||
@ stdcall -private ZwConnectPort(ptr ptr ptr ptr ptr ptr ptr ptr) NtConnectPort
|
||||
-@ stub ZwContinue
|
||||
+@ stdcall -private ZwContinue(ptr long) NtContinue
|
||||
# @ stub ZwCreateDebugObject
|
||||
@ stdcall -private ZwCreateDirectoryObject(ptr long ptr) NtCreateDirectoryObject
|
||||
@ stdcall -private ZwCreateEvent(ptr long ptr long long) NtCreateEvent
|
||||
--
|
||||
2.12.2
|
||||
|
@ -242,6 +242,7 @@ patch_enable_all ()
|
||||
enable_ntdll_Loader_Machine_Type="$1"
|
||||
enable_ntdll_NtAccessCheck="$1"
|
||||
enable_ntdll_NtAllocateUuids="$1"
|
||||
enable_ntdll_NtContinue="$1"
|
||||
enable_ntdll_NtCreateThreadEx="$1"
|
||||
enable_ntdll_NtQueryEaFile="$1"
|
||||
enable_ntdll_NtQuerySection="$1"
|
||||
@ -960,6 +961,9 @@ patch_enable ()
|
||||
ntdll-NtAllocateUuids)
|
||||
enable_ntdll_NtAllocateUuids="$2"
|
||||
;;
|
||||
ntdll-NtContinue)
|
||||
enable_ntdll_NtContinue="$2"
|
||||
;;
|
||||
ntdll-NtCreateThreadEx)
|
||||
enable_ntdll_NtCreateThreadEx="$2"
|
||||
;;
|
||||
@ -5661,6 +5665,18 @@ if test "$enable_ntdll_NtAllocateUuids" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset ntdll-NtContinue
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/ntdll/exception.c, dlls/ntdll/ntdll.spec
|
||||
# |
|
||||
if test "$enable_ntdll_NtContinue" -eq 1; then
|
||||
patch_apply ntdll-NtContinue/0001-ntdll-Add-stub-for-NtContinue.patch
|
||||
(
|
||||
printf '%s\n' '+ { "Michael Müller", "ntdll: Add stub for NtContinue.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset ntdll-NtCreateThreadEx
|
||||
# |
|
||||
# | Modified files:
|
||||
|
Loading…
Reference in New Issue
Block a user