[Win32k]
[reactos.git] / reactos / win32ss / user / ntuser / main.c
index c67d5f1..a1f777c 100644 (file)
@@ -161,6 +161,7 @@ UserProcessCreate(PEPROCESS Process)
     }
 
     ppiCurrent->peProcess = Process;
+    ppiCurrent->W32Pid = HandleToUlong(PsGetProcessId(Process));
 
     /* Setup process flags */
     ppiCurrent->W32PF_flags |= W32PF_PROCESSCONNECTED;