Huw Davies : ntoskrnl.exe: Add stubs for PsSuspendProcess() and PsResumeProcess().

Alexandre Julliard julliard at winehq.org
Wed Feb 27 15:30:31 CST 2019


Module: wine
Branch: master
Commit: d88f12950761e9ff8d125a579de6e743979f4945
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d88f12950761e9ff8d125a579de6e743979f4945

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Feb 27 13:05:35 2019 +0000

ntoskrnl.exe: Add stubs for PsSuspendProcess() and PsResumeProcess().

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntoskrnl.exe/ntoskrnl.c        | 20 ++++++++++++++++++++
 dlls/ntoskrnl.exe/ntoskrnl.exe.spec |  2 ++
 2 files changed, 22 insertions(+)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 010f9f7..c21bc2f 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -2966,6 +2966,26 @@ NTSTATUS WINAPI PsTerminateSystemThread(NTSTATUS status)
 
 
 /***********************************************************************
+ *           PsSuspendProcess   (NTOSKRNL.EXE.@)
+ */
+NTSTATUS WINAPI PsSuspendProcess(PEPROCESS process)
+{
+    FIXME("stub: %p\n", process);
+    return STATUS_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
+ *           PsResumeProcess   (NTOSKRNL.EXE.@)
+ */
+NTSTATUS WINAPI PsResumeProcess(PEPROCESS process)
+{
+    FIXME("stub: %p\n", process);
+    return STATUS_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
  *           MmGetSystemRoutineAddress   (NTOSKRNL.EXE.@)
  */
 PVOID WINAPI MmGetSystemRoutineAddress(PUNICODE_STRING SystemRoutineName)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index 4dcd553..902ae2f 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -922,6 +922,7 @@
 @ stdcall PsRemoveCreateThreadNotifyRoutine(ptr)
 @ stdcall PsRemoveLoadImageNotifyRoutine(ptr)
 @ stub PsRestoreImpersonation
+@ stdcall PsResumeProcess(ptr)
 @ stub PsReturnPoolQuota
 @ stub PsReturnProcessNonPagedPoolQuota
 @ stub PsReturnProcessPagedPoolQuota
@@ -941,6 +942,7 @@
 @ stub PsSetProcessWindowStation
 @ stub PsSetThreadHardErrorsAreDisabled
 @ stub PsSetThreadWin32Thread
+@ stdcall PsSuspendProcess(ptr)
 @ stdcall PsTerminateSystemThread(long)
 @ extern PsThreadType
 @ stdcall READ_REGISTER_BUFFER_UCHAR(ptr ptr long)




More information about the wine-cvs mailing list