Add missing *LayeredWindow*() prototypes

Francois Gouget fgouget at free.fr
Tue Feb 7 11:59:24 CST 2006


Changelog:

  * include/winuser.h

    Francois Gouget <fgouget at free.fr>
    Add missing UpdateLayeredWindow() prototype (spotted by 
winapi_check).
    Also add some other related 'LayeredWindow' definitions.

-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
                      Avoid the Gates of Hell - use Linux.
-------------- next part --------------
Index: include/winuser.h
===================================================================
RCS file: /home/wine/wine/include/winuser.h,v
retrieving revision 1.231
diff -u -p -r1.231 winuser.h
--- include/winuser.h	10 Jan 2006 20:16:38 -0000	1.231
+++ include/winuser.h	7 Feb 2006 16:44:07 -0000
@@ -3086,6 +3090,21 @@ typedef struct {
 #define SW_OTHERUNZOOM      4
 
 /* SetLayeredWindowAttributes() flags */
+
+typedef struct tagUPDATELAYEREDWINDOWINFO
+{
+    DWORD                cbSize;
+    HDC                  hdcDst;
+    POINT CONST*         pptDst;
+    SIZE CONST*          psize;
+    HDC                  hdcSrc;
+    POINT CONST*         pptSrc;
+    COLORREF             crKey;
+    BLENDFUNCTION CONST* pblend;
+    DWORD                dwFlags;
+    RECT CONST*          prcDirty;
+} UPDATELAYEREDWINDOWINFO, *PUPDATELAYEREDWINDOWINFO;
+
 #define LWA_COLORKEY        0x00000001
 #define LWA_ALPHA           0x00000002
 
@@ -4355,6 +4374,7 @@ BOOL        WINAPI GetKeyboardLayoutName
 SHORT       WINAPI GetKeyState(INT);
 HWND      WINAPI GetLastActivePopup(HWND);
 BOOL      WINAPI GetLastInputInfo(PLASTINPUTINFO);
+BOOL        WINAPI GetLayeredWindowAttributes(HWND,COLORREF*,BYTE*,DWORD*);
 HMENU     WINAPI GetMenu(HWND);
 INT       WINAPI GetMenuItemCount(HMENU);
 UINT      WINAPI GetMenuItemID(HMENU,INT);
@@ -4707,6 +4727,8 @@ BOOL        WINAPI UnionRect(LPRECT,cons
 BOOL        WINAPI UnregisterClassA(LPCSTR,HINSTANCE);
 BOOL        WINAPI UnregisterClassW(LPCWSTR,HINSTANCE);
 #define     UnregisterClass WINELIB_NAME_AW(UnregisterClass)
+BOOL        WINAPI UpdateLayeredWindow(HWND,HDC,POINT*,SIZE*,HDC,POINT*,COLORREF,BLENDFUNCTION*,DWORD);
+BOOL        WINAPI UpdateLayeredWindowIndirect(HWND,UPDATELAYEREDWINDOWINFO CONST*);
 BOOL        WINAPI UpdateWindow(HWND);
 UINT        WINAPI UserRealizePalette(HDC);
 BOOL        WINAPI ValidateRect(HWND,const RECT*);


More information about the wine-patches mailing list