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
b1fa1e9a
Commit
b1fa1e9a
authored
Apr 01, 2018
by
Louis Lenders
Committed by
Alexandre Julliard
Apr 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add stub for RequestDeviceWakeup.
Signed-off-by:
Louis Lenders
<
xerox.xerox2000x@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e0f9ff9e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
powermgnt.c
dlls/kernel32/powermgnt.c
+10
-0
winbase.h
include/winbase.h
+1
-0
No files found.
dlls/kernel32/kernel32.spec
View file @
b1fa1e9a
...
...
@@ -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)
...
...
dlls/kernel32/powermgnt.c
View file @
b1fa1e9a
...
...
@@ -73,6 +73,16 @@ BOOL WINAPI RequestWakeupLatency(LATENCY_TIME latency)
}
/***********************************************************************
* RequestDeviceWakeup (KERNEL32.@)
*/
BOOL
WINAPI
RequestDeviceWakeup
(
HANDLE
device
)
{
FIXME
(
"(%p): stub
\n
"
,
device
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* SetSystemPowerState (KERNEL32.@)
*/
BOOL
WINAPI
SetSystemPowerState
(
BOOL
suspend_or_hibernate
,
...
...
include/winbase.h
View file @
b1fa1e9a
...
...
@@ -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
);
...
...
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