Statics? Win32 flags? Hungarian notation?
What is this -- Wine?
Please revert this shit.
Best regards, Alex Ionescu
On Wed, Jun 24, 2009 at 12:53 PM, cwittich@svn.reactos.org wrote:
Author: cwittich Date: Wed Jun 24 23:53:54 2009 New Revision: 41599
URL: http://svn.reactos.org/svn/reactos?rev=41599&view=rev Log: stub NtSetThreadExecutionState needed by PowerPoint Viewer 2003
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=415... ============================================================================== --- trunk/reactos/ntoskrnl/po/power.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/po/power.c [iso-8859-1] Wed Jun 24 23:53:54 2009 @@ -588,6 +588,16 @@ NtSetThreadExecutionState(IN EXECUTION_STATE esFlags, OUT EXECUTION_STATE *PreviousFlags) {
- UNIMPLEMENTED;
- return STATUS_NOT_IMPLEMENTED;
-}
- 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;
+}