Commit bd262c60 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

user32: Added RegisterPowerSettingNotification() stub.

parent ebdad92d
......@@ -667,3 +667,12 @@ BOOL WINAPI UserHandleGrantAccess(HANDLE handle, HANDLE job, BOOL grant)
FIXME("(%p,%p,%d): stub\n", handle, job, grant);
return TRUE;
}
/**********************************************************************
* RegisterPowerSettingNotification [USER32.@]
*/
HPOWERNOTIFY WINAPI RegisterPowerSettingNotification(HANDLE recipient, const GUID *guid, DWORD flags)
{
FIXME("(%p,%s,%x): stub\n", recipient, debugstr_guid(guid), flags);
return NULL;
}
......@@ -567,6 +567,7 @@
@ stdcall RegisterLogonProcess(long long)
# @ stub RegisterMessagePumpHook
@ stub RegisterNetworkCapabilities
@ stdcall RegisterPowerSettingNotification(long ptr long)
@ stdcall RegisterRawInputDevices(ptr long long)
@ stdcall RegisterServicesProcess(long)
@ stdcall RegisterShellHookWindow (long)
......
......@@ -91,6 +91,7 @@ DECL_WINELIB_TYPE_AW(WINSTAENUMPROC)
typedef HANDLE HDWP;
typedef void* HPOWERNOTIFY;
#define UOI_FLAGS 1
#define UOI_NAME 2
......@@ -3853,6 +3854,7 @@ WINUSERAPI HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE,LPVOID,DWORD);
WINUSERAPI HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE,LPVOID,DWORD);
#define RegisterDeviceNotification WINELIB_NAME_AW(RegisterDeviceNotification)
WINUSERAPI BOOL WINAPI RegisterHotKey(HWND,INT,UINT,UINT);
WINUSERAPI HPOWERNOTIFY WINAPI RegisterPowerSettingNotification(HANDLE,LPCGUID,DWORD);
WINUSERAPI BOOL WINAPI RegisterRawInputDevices(PRAWINPUTDEVICE,UINT,UINT);
WINUSERAPI UINT WINAPI RegisterWindowMessageA(LPCSTR);
WINUSERAPI UINT WINAPI RegisterWindowMessageW(LPCWSTR);
......
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