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/ini…
==============================================================================
--- 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;
}