Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f6eb06b1
Commit
f6eb06b1
authored
May 18, 2001
by
Marcus Meissner
Committed by
Alexandre Julliard
May 18, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enhanced SetThreadExecutionState stub.
parent
2f3b2ec5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
winnt.h
include/winnt.h
+6
-0
thread.c
scheduler/thread.c
+2
-2
No files found.
include/winnt.h
View file @
f6eb06b1
...
...
@@ -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 */
...
...
scheduler/thread.c
View file @
f6eb06b1
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment