Enhanced SetThreadExecutionState stub.
This commit is contained in:
parent
2f3b2ec5e5
commit
f6eb06b105
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue