Implemented PsCreateSystemThread in ntoskrnl.exe

Juan Lang juan.lang at
Thu Sep 20 15:47:09 CDT 2007

Hi Carroll,

+    if (ProcessHandle!=0)
+    	localThreadHandle =
+    else localThreadHandle =
+    if (localThreadHandle==0) return STATUS_SEVERITY_ERROR;

You should use NtCreateThread rather than CreateThread.  It also
returns a proper status, so you don't have to guess like you do here.

More information about the wine-devel mailing list