From a467feae39d1fe7d49d9df0d46700fff86cb02e0 Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Thu, 10 Jan 2008 08:36:39 +0000 Subject: [PATCH] user32: Add stub for GetLayeredWindowAttributes. --- dlls/user32/user32.spec | 2 +- dlls/user32/win.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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 @@ -3084,6 +3084,16 @@ BOOL WINAPI SetLayeredWindowAttributes( HWND hWnd, COLORREF rgbKey, } /***************************************************************************** + * 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.@) */ BOOL WINAPI UpdateLayeredWindow( HWND hwnd, HDC hdcDst, POINT *pptDst, SIZE *psize, -- 2.11.4.GIT