user32: Added RegisterPowerSettingNotification() stub.

This commit is contained in:
Nikolay Sivov 2014-04-07 09:21:19 +04:00 committed by Alexandre Julliard
parent ebdad92d11
commit bd262c606a
3 changed files with 12 additions and 0 deletions

View file

@ -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;
}

View file

@ -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)

View file

@ -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);