diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec index 450d0573ba9..e3737124048 100644 --- a/dlls/user/user32.spec +++ b/dlls/user/user32.spec @@ -717,7 +717,7 @@ @ stdcall UnregisterHotKey(long long) # @ stub UnregisterMessagePumpHook # @ stub UnregisterUserApiHook -# @ stub UpdateLayeredWindow +@ stdcall UpdateLayeredWindow(long long ptr ptr long ptr long ptr long) @ stub UpdatePerUserSystemParameters @ stdcall UpdateWindow(long) @ stdcall User32InitializeImmEntryTable(ptr) diff --git a/dlls/user/win.c b/dlls/user/win.c index 4dd37eb931f..2f26cd750bc 100644 --- a/dlls/user/win.c +++ b/dlls/user/win.c @@ -3077,3 +3077,15 @@ BOOL WINAPI SetLayeredWindowAttributes( HWND hWnd, COLORREF rgbKey, FIXME("(%p,0x%.8lx,%d,%ld): stub!\n", hWnd, rgbKey, bAlpha, dwFlags); return TRUE; } + +/***************************************************************************** + * UpdateLayeredWindow (USER32.@) + */ +BOOL WINAPI UpdateLayeredWindow( HWND hwnd, HDC hdcDst, POINT *pptDst, SIZE *psize, + HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend, + DWORD dwFlags) +{ + FIXME("(%p,%p,%p,%p,%p,%p,0x%08lx,%p,%ld): stub!\n", + hwnd, hdcDst, pptDst, psize, hdcSrc, pptSrc, crKey, pblend, dwFlags); + return 0; +}