kernel32: Add stub for RequestDeviceWakeup.

Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2018-04-01 11:06:29 +02:00 committed by Alexandre Julliard
parent e0f9ff9eb0
commit b1fa1e9a6d
3 changed files with 12 additions and 1 deletions

View File

@ -1271,12 +1271,12 @@
@ stdcall ReplaceFile(wstr wstr wstr long ptr ptr) ReplaceFileW
@ stdcall ReplaceFileA(str str str long ptr ptr)
@ stdcall ReplaceFileW(wstr wstr wstr long ptr ptr)
@ stub RequestDeviceWakeup
# @ stub RemoveDirectoryTransactedA
# @ stub RemoveDirectoryTransactedW
@ stdcall RemoveDllDirectory(ptr)
# @ stub RemoveSecureMemoryCacheCallback
# @ stub ReplacePartitionUnit
@ stdcall RequestDeviceWakeup(long)
@ stdcall RequestWakeupLatency(long)
@ stdcall ResetEvent(long)
@ stdcall ResetWriteWatch(ptr long)

View File

@ -72,6 +72,16 @@ BOOL WINAPI RequestWakeupLatency(LATENCY_TIME latency)
return TRUE;
}
/***********************************************************************
* RequestDeviceWakeup (KERNEL32.@)
*/
BOOL WINAPI RequestDeviceWakeup(HANDLE device)
{
FIXME("(%p): stub\n", device);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* SetSystemPowerState (KERNEL32.@)
*/

View File

@ -2521,6 +2521,7 @@ WINBASEAPI BOOL WINAPI RemoveDirectoryW(LPCWSTR);
#define RemoveDirectory WINELIB_NAME_AW(RemoveDirectory)
WINADVAPI BOOL WINAPI ReportEventA(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCSTR *,LPVOID);
WINADVAPI BOOL WINAPI ReportEventW(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCWSTR *,LPVOID);
WINBASEAPI BOOL WINAPI RequestDeviceWakeup(HANDLE);
WINBASEAPI BOOL WINAPI RequestWakeupLatency(LATENCY_TIME latency);
#define ReportEvent WINELIB_NAME_AW(ReportEvent)
WINBASEAPI BOOL WINAPI ResetEvent(HANDLE);