wine-staging/patches/ntoskrnl-Stubs/0015-ntoskrnl-Add-PsAcquireProcessExitSynchronization-PsR.patch
Alistair Leslie-Hughes c6b3d2a128 Updated ntoskrnl-Stubs patchset
- Added more stub patches
2018-03-30 13:47:30 +11:00

62 lines
2.1 KiB
Diff

From 67b4323b39e2ec316ea698d9ecd9176b472983eb Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Wed, 28 Mar 2018 16:16:27 +1100
Subject: [PATCH] ntoskrnl: Add
PsAcquireProcessExitSynchronization/PsReleaseProcessExitSynchronization stub
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
---
dlls/ntoskrnl.exe/ntoskrnl.c | 18 ++++++++++++++++++
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 ++
2 files changed, 20 insertions(+)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 58383e5..0ebe365 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -3511,3 +3511,21 @@ __ASM_STDCALL_FUNC( _chkstk, 0,
__ASM_GLOBAL_FUNC( __chkstk, "lsl r4, r4, #2\n\t"
"bx lr" )
#endif
+
+/*********************************************************************
+ * PsAcquireProcessExitSynchronization (NTOSKRNL.@)
+*/
+NTSTATUS WINAPI PsAcquireProcessExitSynchronization(PEPROCESS process)
+{
+ FIXME("stub: %p\n", process);
+
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+/*********************************************************************
+ * PsReleaseProcessExitSynchronization (NTOSKRNL.@)
+ */
+void WINAPI PsReleaseProcessExitSynchronization(PEPROCESS process)
+{
+ FIXME("stub: %p\n", process);
+}
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index de3307d..7b7b4d4 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -844,6 +844,7 @@
@ stub PoUnregisterSystemState
@ stdcall ProbeForRead(ptr long long)
@ stdcall ProbeForWrite(ptr long long)
+@ stdcall PsAcquireProcessExitSynchronization(ptr)
@ stub PsAssignImpersonationToken
@ stub PsChargePoolQuota
@ stub PsChargeProcessNonPagedPoolQuota
@@ -905,6 +906,7 @@
@ stub PsProcessType
@ stub PsReferenceImpersonationToken
@ stub PsReferencePrimaryToken
+@ stdcall PsReleaseProcessExitSynchronization(ptr)
@ stdcall PsRemoveCreateThreadNotifyRoutine(ptr)
@ stdcall PsRemoveLoadImageNotifyRoutine(ptr)
@ stub PsRestoreImpersonation
--
1.9.1