Module: wine Branch: master Commit: a467feae39d1fe7d49d9df0d46700fff86cb02e0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a467feae39d1fe7d49d9df0d46...
Author: Louis Lenders xerox_xerox2000@yahoo.co.uk Date: Thu Jan 10 08:36:39 2008 +0000
user32: Add stub for GetLayeredWindowAttributes.
---
dlls/user32/user32.spec | 2 +- dlls/user32/win.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index 168ac80..6b0fc0a 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 72f3cfc..e55fe20 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,