Commit f6eb06b1 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Enhanced SetThreadExecutionState stub.

parent 2f3b2ec5
......@@ -544,6 +544,12 @@ typedef struct _SINGLE_LIST_ENTRY {
#define PF_RDTSC_INSTRUCTION_AVAILABLE 8
/* Execution state flags */
#define ES_SYSTEM_REQUIRED 0x00000001
#define ES_DISPLAY_REQUIRED 0x00000002
#define ES_USER_PRESENT 0x00000004
#define ES_CONTINUOUS 0x80000000
/* The Win32 register context */
/* CONTEXT is the CPU-dependent context; it should be used */
......
......@@ -767,8 +767,8 @@ BOOL WINAPI ProcessIdToSessionId( DWORD procid, DWORD *sessionid_ptr )
*/
EXECUTION_STATE WINAPI SetThreadExecutionState(EXECUTION_STATE flags)
{
FIXME("(%ld): stub\n", flags);
return 0;
FIXME("(0x%lx): stub\n", flags);
return ES_SYSTEM_REQUIRED|ES_DISPLAY_REQUIRED|ES_USER_PRESENT;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment