mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
62 lines
2.1 KiB
Diff
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
|
||
|
|