mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
c6b3d2a128
- Added more stub patches
46 lines
1.5 KiB
Diff
46 lines
1.5 KiB
Diff
From 8796964cd51e0edc14963425bd7ab5ef11f9c5f1 Mon Sep 17 00:00:00 2001
|
|
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
Date: Wed, 28 Mar 2018 18:00:30 +1100
|
|
Subject: [PATCH] ntoskrnl: Add PsGetProcessId stub
|
|
|
|
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
---
|
|
dlls/ntoskrnl.exe/ntoskrnl.c | 10 ++++++++++
|
|
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
|
|
2 files changed, 11 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
|
|
index f9a3a63..a06479c 100644
|
|
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
|
|
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
|
|
@@ -3544,3 +3544,13 @@ void WINAPI ExfUnblockPushLock( EX_PUSH_LOCK *lock, PEX_PUSH_LOCK_WAIT_BLOCK blo
|
|
{
|
|
FIXME( "stub: %p, %p\n", lock, block );
|
|
}
|
|
+
|
|
+/*********************************************************************
|
|
+ * PsGetProcessId (NTOSKRNL.@)
|
|
+ */
|
|
+HANDLE WINAPI PsGetProcessId(PEPROCESS process)
|
|
+{
|
|
+ FIXME("stub: %p\n", process);
|
|
+
|
|
+ return 0;
|
|
+}
|
|
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
|
index 87e5685..7801b1a 100644
|
|
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
|
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
|
@@ -874,7 +874,7 @@
|
|
@ stub PsGetProcessExitProcessCalled
|
|
@ stub PsGetProcessExitStatus
|
|
@ stub PsGetProcessExitTime
|
|
-@ stub PsGetProcessId
|
|
+@ stdcall PsGetProcessId(ptr)
|
|
@ stub PsGetProcessImageFileName
|
|
@ stub PsGetProcessInheritedFromUniqueProcessId
|
|
@ stub PsGetProcessJob
|
|
--
|
|
1.9.1
|
|
|