David Torok : ntdll: Add NtDebugActiveProcess stub.
Alexandre Julliard
julliard at winehq.org
Mon Nov 16 15:28:57 CST 2020
Module: wine
Branch: master
Commit: 74f95d9ff24f8661349c6add1d1a7dc958247cfe
URL: https://source.winehq.org/git/wine.git/?a=commit;h=74f95d9ff24f8661349c6add1d1a7dc958247cfe
Author: David Torok <dt at zeroitlab.com>
Date: Sat Nov 14 18:17:20 2020 +0100
ntdll: Add NtDebugActiveProcess stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47198
Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/ntdll.spec | 4 ++--
dlls/ntdll/unix/process.c | 10 ++++++++++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index dbd2eab1fa1..248ae72a011 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -190,7 +190,7 @@
@ stdcall -syscall NtCreateUserProcess(ptr ptr long long ptr ptr long long ptr ptr ptr)
# @ stub NtCreateWaitablePort
@ stdcall -arch=win32,arm64 NtCurrentTeb()
-# @ stub NtDebugActiveProcess
+@ stdcall -syscall NtDebugActiveProcess(long long)
# @ stub NtDebugContinue
@ stdcall -syscall NtDelayExecution(long ptr)
@ stdcall -syscall NtDeleteAtom(long)
@@ -1195,7 +1195,7 @@
@ stub ZwCreateToken
@ stdcall -private -syscall ZwCreateUserProcess(ptr ptr long long ptr ptr long long ptr ptr ptr) NtCreateUserProcess
# @ stub ZwCreateWaitablePort
-# @ stub ZwDebugActiveProcess
+@ stdcall -private -syscall ZwDebugActiveProcess(long long) NtDebugActiveProcess
# @ stub ZwDebugContinue
@ stdcall -private -syscall ZwDelayExecution(long ptr) NtDelayExecution
@ stdcall -private -syscall ZwDeleteAtom(long) NtDeleteAtom
diff --git a/dlls/ntdll/unix/process.c b/dlls/ntdll/unix/process.c
index 5ccf435e9ff..ad15a5cf66d 100644
--- a/dlls/ntdll/unix/process.c
+++ b/dlls/ntdll/unix/process.c
@@ -1744,6 +1744,16 @@ NTSTATUS WINAPI NtResumeProcess( HANDLE handle )
}
+/**********************************************************************
+ * NtDebugActiveProcess (NTDLL.@)
+ */
+NTSTATUS WINAPI NtDebugActiveProcess( HANDLE process, HANDLE debug_object )
+{
+ FIXME( "(%p %p), stub!\n", process, debug_object );
+ return STATUS_SUCCESS;
+}
+
+
/***********************************************************************
* __wine_make_process_system (NTDLL.@)
*
More information about the wine-cvs
mailing list