Commit 7313b786 authored by James Juran's avatar James Juran Committed by Alexandre Julliard

Added stub for SetThreadExecutionState (new function in Win98/2000).

parent fafc6fbf
......@@ -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
......
......@@ -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);
......
......@@ -342,6 +342,7 @@ typedef LPCSTR PCTSTR, LPCTSTR;
typedef LONG HRESULT;
typedef DWORD LCID, *PLCID;
typedef WORD LANGID;
typedef DWORD EXECUTION_STATE;
/* Handle type */
......
......@@ -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__
......
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