Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7313b786
Commit
7313b786
authored
Mar 13, 2001
by
James Juran
Committed by
Alexandre Julliard
Mar 13, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stub for SetThreadExecutionState (new function in Win98/2000).
parent
fafc6fbf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
0 deletions
+15
-0
kernel32.spec
dlls/kernel/kernel32.spec
+1
-0
winbase.h
include/winbase.h
+1
-0
winnt.h
include/winnt.h
+1
-0
thread.c
scheduler/thread.c
+12
-0
No files found.
dlls/kernel/kernel32.spec
View file @
7313b786
...
...
@@ -951,6 +951,7 @@ debug_channels (comm debugstr dll int resource stress thunk toolhelp win32)
@ stdcall PrivateLoadLibrary(str) PrivateLoadLibrary
@ stdcall PrivateFreeLibrary(long) PrivateFreeLibrary
@ stdcall Get16DLLAddress(long str) Get16DLLAddress
@ stdcall SetThreadExecutionState(long) SetThreadExecutionState
# Windows 2000, Terminal Server 4.0 SP4 functions
@ stdcall GetSystemWindowsDirectoryA(ptr long) GetSystemWindowsDirectoryA
...
...
include/winbase.h
View file @
7313b786
...
...
@@ -1570,6 +1570,7 @@ DWORD WINAPI SetTapeParameters(HANDLE,DWORD,LPVOID);
DWORD
WINAPI
SetTapePosition
(
HANDLE
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
BOOL
);
DWORD
WINAPI
SetThreadAffinityMask
(
HANDLE
,
DWORD
);
BOOL
WINAPI
SetThreadContext
(
HANDLE
,
const
CONTEXT
*
);
DWORD
WINAPI
SetThreadExecutionState
(
EXECUTION_STATE
);
BOOL
WINAPI
SetThreadLocale
(
LCID
);
BOOL
WINAPI
SetThreadPriority
(
HANDLE
,
INT
);
BOOL
WINAPI
SetThreadPriorityBoost
(
HANDLE
,
BOOL
);
...
...
include/winnt.h
View file @
7313b786
...
...
@@ -342,6 +342,7 @@ typedef LPCSTR PCTSTR, LPCTSTR;
typedef
LONG
HRESULT
;
typedef
DWORD
LCID
,
*
PLCID
;
typedef
WORD
LANGID
;
typedef
DWORD
EXECUTION_STATE
;
/* Handle type */
...
...
scheduler/thread.c
View file @
7313b786
...
...
@@ -755,6 +755,18 @@ BOOL WINAPI ProcessIdToSessionId( DWORD procid, DWORD *sessionid_ptr )
return
TRUE
;
}
/***********************************************************************
* SetThreadExecutionState (KERNEL32.@)
*
* Informs the system that activity is taking place for
* power management purposes.
*/
EXECUTION_STATE
WINAPI
SetThreadExecutionState
(
EXECUTION_STATE
flags
)
{
FIXME
(
"(%ld): stub
\n
"
,
flags
);
return
0
;
}
#ifdef __i386__
...
...
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