user32: Add stub for SetWindowCompositionAttribute.

Based on a patch by Louis Lenders.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44787
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Alex Henrie 2018-10-08 00:36:21 -06:00 committed by Alexandre Julliard
parent afaada7e5f
commit 67a33fce6f
3 changed files with 12 additions and 1 deletions

View File

@ -15,7 +15,7 @@
@ stub RecordShutdownReason
@ stdcall RegisterLogonProcess(long long) user32.RegisterLogonProcess
@ stub SetThreadInputBlocked
@ stub SetWindowCompositionAttribute
@ stdcall SetWindowCompositionAttribute(ptr ptr) user32.SetWindowCompositionAttribute
@ stdcall SetWindowStationUser(long long) user32.SetWindowStationUser
@ stub SwitchDesktopWithFade
@ stub UnlockWindowStation

View File

@ -711,6 +711,7 @@
@ stdcall SetUserObjectInformationW(long long ptr long)
@ stdcall SetUserObjectSecurity(long ptr ptr)
@ stdcall SetWinEventHook(long long long ptr long long long)
@ stdcall SetWindowCompositionAttribute(ptr ptr)
@ stdcall SetWindowContextHelpId(long long)
@ stdcall SetWindowDisplayAffinity(long long)
@ stub SetWindowFullScreenState

View File

@ -4183,3 +4183,13 @@ BOOL WINAPI SetWindowDisplayAffinity(HWND hwnd, DWORD affinity)
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
return FALSE;
}
/**********************************************************************
* SetWindowCompositionAttribute (USER32.@)
*/
BOOL WINAPI SetWindowCompositionAttribute(HWND hwnd, void *data)
{
FIXME("(%p, %p): stub\n", hwnd, data);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}