[ros-diffs] [dchapyshev] 41396: - Revert r41390

dchapyshev at svn.reactos.org dchapyshev at svn.reactos.org
Fri Jun 12 19:54:52 CEST 2009


Author: dchapyshev
Date: Fri Jun 12 21:54:51 2009
New Revision: 41396

URL: http://svn.reactos.org/svn/reactos?rev=41396&view=rev
Log:
- Revert r41390

Modified:
    trunk/reactos/subsystems/win32/csrss/init.c

Modified: trunk/reactos/subsystems/win32/csrss/init.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/init.c?rev=41396&r1=41395&r2=41396&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/init.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/init.c [iso-8859-1] Fri Jun 12 21:54:51 2009
@@ -639,7 +639,6 @@
 	UNICODE_STRING                CommandLine;
 	PRTL_USER_PROCESS_PARAMETERS  ProcessParameters = NULL;
 	RTL_USER_PROCESS_INFORMATION  ProcessInfo;
-    PROCESS_PRIORITY_CLASS        PriorityClass;
 
 
 	DPRINT("CSR: %s called\n", __FUNCTION__);
@@ -676,18 +675,6 @@
 				__FUNCTION__, Status);
 	}
 
-    PriorityClass.PriorityClass = PROCESS_PRIORITY_CLASS_HIGH;
-    PriorityClass.Foreground = FALSE;
-
-    /* Set priority for process */
-    if (!NT_SUCCESS(NtSetInformationProcess(ProcessInfo.ProcessHandle,
-                                            ProcessPriorityClass,
-                                            &PriorityClass,
-                                            sizeof(PROCESS_PRIORITY_CLASS))))
-    {
-        DPRINT1("Unable to set process priority for winlogon.exe\n");
-    }
-
    ZwResumeThread(ProcessInfo.ThreadHandle, NULL);
 	return Status;
 }



More information about the Ros-diffs mailing list