USER32: Add stub for SetLayeredWindowAttributes

Felix Nawothnig felix.nawothnig at t-online.de
Sun Jul 17 11:36:30 CDT 2005


This is used by native comctl32 6.0.

ChangeLog:
Add stub for SetLayeredWindowAttributes
-------------- next part --------------
Index: dlls/user/user32.spec
===================================================================
RCS file: /home/wine/wine/dlls/user/user32.spec,v
retrieving revision 1.109
diff -u -r1.109 user32.spec
--- dlls/user/user32.spec	23 Jun 2005 09:57:11 -0000	1.109
+++ dlls/user/user32.spec	17 Jul 2005 16:29:57 -0000
@@ -570,6 +570,7 @@
 @ stdcall SetInternalWindowPos(long long ptr ptr)
 @ stdcall SetKeyboardState(ptr)
 @ stdcall SetLastErrorEx(long long)
+@ stdcall SetLayeredWindowAttributes(ptr long long long)
 @ stdcall SetLogonNotifyWindow(long long)
 @ stdcall SetMenu(long long)
 @ stdcall SetMenuContextHelpId(long long)
Index: dlls/user/win.c
===================================================================
RCS file: /home/wine/wine/dlls/user/win.c,v
retrieving revision 1.13
diff -u -r1.13 win.c
--- dlls/user/win.c	8 Jul 2005 11:37:40 -0000	1.13
+++ dlls/user/win.c	17 Jul 2005 16:30:03 -0000
@@ -3055,3 +3055,13 @@
     FIXME("SwitchDesktop(hwnd %p) stub!\n", hDesktop);
     return TRUE;
 }
+
+/*****************************************************************************
+ *              SetLayeredWindowAttributes (USER32.@)
+ */
+BOOL WINAPI SetLayeredWindowAttributes( HWND hWnd, COLORREF rgbKey, 
+                                        BYTE bAlpha, DWORD dwFlags )
+{
+    FIXME("(%p,0x%.8lx,%d,%ld): stub!\n", hWnd, rgbKey, bAlpha, dwFlags);
+    return TRUE;
+}


More information about the wine-patches mailing list