diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index 168ac803a9d..6b0fc0a7d5d 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -304,7 +304,7 @@ @ stdcall GetKeyboardType(long) @ stdcall GetLastActivePopup(long) @ stdcall GetLastInputInfo(ptr) -# @ stub GetLayeredWindowAttributes +@ stdcall GetLayeredWindowAttributes(long ptr ptr ptr) # @ stub GetListBoxInfo @ stdcall GetMenu(long) @ stdcall GetMenuBarInfo(long long long ptr) diff --git a/dlls/user32/win.c b/dlls/user32/win.c index 72f3cfcf15b..e55fe201e5b 100644 --- a/dlls/user32/win.c +++ b/dlls/user32/win.c @@ -3083,6 +3083,16 @@ BOOL WINAPI SetLayeredWindowAttributes( HWND hWnd, COLORREF rgbKey, return TRUE; } +/***************************************************************************** + * GetLayeredWindowAttributes (USER32.@) + */ +BOOL WINAPI GetLayeredWindowAttributes( HWND hWnd, COLORREF *prgbKey, + BYTE *pbAlpha, DWORD *pdwFlags ) +{ + FIXME("(%p,%p,%p,%p): stub!\n", hWnd, prgbKey, pbAlpha, pdwFlags); + return FALSE; +} + /***************************************************************************** * UpdateLayeredWindow (USER32.@) */