Author: cwittich
Date: Fri Jun 26 11:22:34 2009
New Revision: 41619
URL:
http://svn.reactos.org/svn/reactos?rev=41619&view=rev
Log:
revert 41599
Modified:
trunk/reactos/ntoskrnl/po/power.c
Modified: trunk/reactos/ntoskrnl/po/power.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/po/power.c?rev=41…
==============================================================================
--- trunk/reactos/ntoskrnl/po/power.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/po/power.c [iso-8859-1] Fri Jun 26 11:22:34 2009
@@ -588,16 +588,6 @@
NtSetThreadExecutionState(IN EXECUTION_STATE esFlags,
OUT EXECUTION_STATE *PreviousFlags)
{
- static EXECUTION_STATE current =
- ES_SYSTEM_REQUIRED | ES_DISPLAY_REQUIRED | ES_USER_PRESENT;
- EXECUTION_STATE old = current;
-
- UNIMPLEMENTED;
-
- if (!(current & ES_CONTINUOUS) || (esFlags & ES_CONTINUOUS))
- current = esFlags;
-
- *PreviousFlags = old;
-
- return STATUS_SUCCESS;
-}
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}