Skip to content

Commit

Permalink
[USER32] PowerSettingNotification stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFire01 committed Sep 15, 2023
1 parent 9c432e3 commit 4635327
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions win32ss/user/user32/misc/stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,23 @@ SetDebugErrorLevel( DWORD dwLevel )
FIXME("(%lu): stub\n", dwLevel);
}

BOOL
WINAPI
UnregisterPowerSettingNotification(HANDLE Handle) // HPOWERNOTIFY
{
UNIMPLEMENTED;
return TRUE;
}

PVOID // HPOWERNOTIFY
WINAPI
RegisterPowerSettingNotification(HANDLE hRecipient,
LPCGUID PowerSettingGuid,
DWORD Flags)
{
UNIMPLEMENTED;
return NULL;
}

/*
* @implemented
Expand Down
2 changes: 2 additions & 0 deletions win32ss/user/user32/user32.spec
Original file line number Diff line number Diff line change
Expand Up @@ -748,3 +748,5 @@
739 varargs wsprintfW(ptr wstr)
740 stdcall wvsprintfA(ptr str ptr)
741 stdcall wvsprintfW(ptr wstr ptr)
@ stdcall -version=0x600+ RegisterPowerSettingNotification(ptr ptr long)
@ stdcall -version=0x600+ UnregisterPowerSettingNotification(ptr)

0 comments on commit 4635327

Please sign in to comment.