From ebb1fec5cacd6c445b2b6e4208842facc59e9696 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sat, 7 May 2011 13:22:29 -0500 Subject: [PATCH] ntoskrnl.exe: Add a stub for PsLookupProcessByProcessId. --- dlls/ntoskrnl.exe/ntoskrnl.c | 9 +++++++++ dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index 6fc0fb2a2a7..2543ca6ea09 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -1604,6 +1604,15 @@ NTSTATUS WINAPI PsSetLoadImageNotifyRoutine(PLOAD_IMAGE_NOTIFY_ROUTINE routine) return STATUS_SUCCESS; } +/***************************************************** + * PsLookupProcessByProcessId (NTOSKRNL.EXE.@) + */ +NTSTATUS WINAPI PsLookupProcessByProcessId(HANDLE processid, PEPROCESS *process) +{ + FIXME("(%p %p) stub\n", processid, process); + return STATUS_NOT_IMPLEMENTED; +} + /***************************************************** * DllMain */ diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec index 7e4918f27e0..64aaf395cf0 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec @@ -892,7 +892,7 @@ @ stub PsIsThreadImpersonating @ stub PsIsThreadTerminating @ stub PsJobType -@ stub PsLookupProcessByProcessId +@ stdcall PsLookupProcessByProcessId(ptr ptr) @ stub PsLookupProcessThreadByCid @ stub PsLookupThreadByThreadId @ stub PsProcessType