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
947f638a
Commit
947f638a
authored
Mar 30, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add suspend-resume notification API stubs.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
adb6f4ab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
misc.c
dlls/user32/misc.c
+18
-0
user32.spec
dlls/user32/user32.spec
+2
-0
winuser.h
include/winuser.h
+2
-0
No files found.
dlls/user32/misc.c
View file @
947f638a
...
...
@@ -443,6 +443,24 @@ BOOL WINAPI UnregisterPowerSettingNotification(HPOWERNOTIFY handle)
return
TRUE
;
}
/**********************************************************************
* RegisterSuspendResumeNotification (USER32.@)
*/
HPOWERNOTIFY
WINAPI
RegisterSuspendResumeNotification
(
HANDLE
recipient
,
DWORD
flags
)
{
FIXME
(
"%p, %#x: stub.
\n
"
,
recipient
,
flags
);
return
(
HPOWERNOTIFY
)
0xdeadbeef
;
}
/**********************************************************************
* UnregisterSuspendResumeNotification (USER32.@)
*/
BOOL
WINAPI
UnregisterSuspendResumeNotification
(
HPOWERNOTIFY
handle
)
{
FIXME
(
"%p: stub.
\n
"
,
handle
);
return
TRUE
;
}
/*****************************************************************************
* GetGestureConfig (USER32.@)
*/
...
...
dlls/user32/user32.spec
View file @
947f638a
...
...
@@ -608,6 +608,7 @@
@ stdcall RegisterRawInputDevices(ptr long long)
@ stdcall RegisterServicesProcess(long)
@ stdcall RegisterShellHookWindow (long)
@ stdcall RegisterSuspendResumeNotification(long long)
@ stdcall RegisterSystemThread(long long)
@ stdcall RegisterTasklist (long)
@ stdcall RegisterTouchHitTestingWindow(long long)
...
...
@@ -783,6 +784,7 @@
@ stdcall UnregisterHotKey(long long) NtUserUnregisterHotKey
# @ stub UnregisterMessagePumpHook
@ stdcall UnregisterPowerSettingNotification(ptr)
@ stdcall UnregisterSuspendResumeNotification(ptr)
@ stdcall UnregisterTouchWindow(long)
@ stdcall UnregisterUserApiHook()
@ stdcall UpdateLayeredWindow(long long ptr ptr long ptr long ptr long)
...
...
include/winuser.h
View file @
947f638a
...
...
@@ -4128,6 +4128,7 @@ WINUSERAPI BOOL WINAPI RegisterPointerDeviceNotifications(HWND,BOOL);
WINUSERAPI
HPOWERNOTIFY
WINAPI
RegisterPowerSettingNotification
(
HANDLE
,
LPCGUID
,
DWORD
);
WINUSERAPI
BOOL
WINAPI
RegisterRawInputDevices
(
PRAWINPUTDEVICE
,
UINT
,
UINT
);
WINUSERAPI
BOOL
WINAPI
RegisterShellHookWindow
(
HWND
);
WINUSERAPI
HPOWERNOTIFY
WINAPI
RegisterSuspendResumeNotification
(
HANDLE
,
DWORD
);
WINUSERAPI
BOOL
WINAPI
RegisterTouchWindow
(
HWND
,
ULONG
);
WINUSERAPI
UINT
WINAPI
RegisterWindowMessageA
(
LPCSTR
);
WINUSERAPI
UINT
WINAPI
RegisterWindowMessageW
(
LPCWSTR
);
...
...
@@ -4300,6 +4301,7 @@ WINUSERAPI BOOL WINAPI UnregisterClassW(LPCWSTR,HINSTANCE);
WINUSERAPI
BOOL
WINAPI
UnregisterDeviceNotification
(
HDEVNOTIFY
);
WINUSERAPI
BOOL
WINAPI
UnregisterHotKey
(
HWND
,
INT
);
WINUSERAPI
BOOL
WINAPI
UnregisterPowerSettingNotification
(
HPOWERNOTIFY
);
WINUSERAPI
BOOL
WINAPI
UnregisterSuspendResumeNotification
(
HPOWERNOTIFY
);
WINUSERAPI
BOOL
WINAPI
UnregisterTouchWindow
(
HWND
);
WINUSERAPI
BOOL
WINAPI
UpdateWindow
(
HWND
);
WINUSERAPI
BOOL
WINAPI
UserHandleGrantAccess
(
HANDLE
,
HANDLE
,
BOOL
);
...
...
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