[ros-diffs] [cwittich] 41619: revert 41599

cwittich at svn.reactos.org cwittich at svn.reactos.org
Fri Jun 26 09:22:34 CEST 2009


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=41619&r1=41618&r2=41619&view=diff
==============================================================================
--- 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;
+}



More information about the Ros-diffs mailing list