From f082d721902f10414d4846914de246493b288908 Mon Sep 17 00:00:00 2001 From: Michael Martin Date: Sun, 21 Dec 2008 05:08:18 +0000 Subject: [PATCH] - As per http://msdn.microsoft.com/en-us/library/ms802952.aspx, call ExDoCallBack with correct parameters. svn path=/trunk/; revision=38222 --- reactos/ntoskrnl/include/internal/ps_x.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/include/internal/ps_x.h b/reactos/ntoskrnl/include/internal/ps_x.h index 47ee197d309..f44e9bddaa7 100644 --- a/reactos/ntoskrnl/include/internal/ps_x.h +++ b/reactos/ntoskrnl/include/internal/ps_x.h @@ -73,8 +73,8 @@ PspRunCreateProcessNotifyRoutines(IN PEPROCESS CurrentProcess, /* Do the callback */ ExDoCallBack(&PspProcessNotifyRoutine[i], CurrentProcess->InheritedFromUniqueProcessId, - (PVOID)(ULONG_PTR)Create, - NULL); + CurrentProcess->UniqueProcessId, + (PVOID)(ULONG_PTR)Create); } } }