Enhanced SetThreadExecutionState stub.

This commit is contained in:
Marcus Meissner 2001-05-18 20:58:43 +00:00 committed by Alexandre Julliard
parent 2f3b2ec5e5
commit f6eb06b105
2 changed files with 8 additions and 2 deletions

View File

@ -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 */

View File

@ -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;
}