Hans Leidekker : user32: Add a stub implementation of UnregisterPowerSettingNotification.
Module: wine Branch: master Commit: 4ad09a150ea91bafaa28aac9b79b5d9a3297b1e3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4ad09a150ea91bafaa28aac9b7... Author: Hans Leidekker <hans(a)codeweavers.com> Date: Fri Jul 17 12:36:35 2015 +0200 user32: Add a stub implementation of UnregisterPowerSettingNotification. --- dlls/user32/misc.c | 9 +++++++++ dlls/user32/user32.spec | 1 + include/winuser.h | 1 + 3 files changed, 11 insertions(+) diff --git a/dlls/user32/misc.c b/dlls/user32/misc.c index b3615e8..5d2042a 100644 --- a/dlls/user32/misc.c +++ b/dlls/user32/misc.c @@ -721,6 +721,15 @@ HPOWERNOTIFY WINAPI RegisterPowerSettingNotification(HANDLE recipient, const GUI } /********************************************************************** + * UnregisterPowerSettingNotification [USER32.@] + */ +BOOL WINAPI UnregisterPowerSettingNotification(HPOWERNOTIFY handle) +{ + FIXME("(%p): stub\n", handle); + return TRUE; +} + +/********************************************************************** * SetGestureConfig [USER32.@] */ BOOL WINAPI SetGestureConfig( HWND hwnd, DWORD reserved, UINT id, PGESTURECONFIG config, UINT size ) diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index 5cc0f55..204ccd4 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -736,6 +736,7 @@ @ stdcall UnregisterDeviceNotification(long) @ stdcall UnregisterHotKey(long long) # @ stub UnregisterMessagePumpHook +@ stdcall UnregisterPowerSettingNotification(ptr) # @ stub UnregisterUserApiHook @ stdcall UpdateLayeredWindow(long long ptr ptr long ptr long ptr long) @ stdcall UpdateLayeredWindowIndirect(long ptr) diff --git a/include/winuser.h b/include/winuser.h index 118aa73..06ca054 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -4027,6 +4027,7 @@ WINUSERAPI BOOL WINAPI UnregisterClassW(LPCWSTR,HINSTANCE); #define UnregisterClass WINELIB_NAME_AW(UnregisterClass) WINUSERAPI BOOL WINAPI UnregisterDeviceNotification(HDEVNOTIFY); WINUSERAPI BOOL WINAPI UnregisterHotKey(HWND,INT); +WINUSERAPI BOOL WINAPI UnregisterPowerSettingNotification(HPOWERNOTIFY); WINUSERAPI BOOL WINAPI UpdateWindow(HWND); WINUSERAPI BOOL WINAPI UserHandleGrantAccess(HANDLE,HANDLE,BOOL); WINUSERAPI UINT WINAPI UserRealizePalette(HDC);
participants (1)
-
Alexandre Julliard