Stub implementation of FlashWindowEx

Mike McCormack mike at codeweavers.com
Tue Aug 12 02:50:45 CDT 2003


ChangeLog:
* Stub implementation of FlashWindowEx

-------------- next part --------------
Index: include/winuser.h
===================================================================
RCS file: /home/wine/wine/include/winuser.h,v
retrieving revision 1.163
diff -u -r1.163 winuser.h
--- include/winuser.h	14 May 2003 19:31:00 -0000	1.163
+++ include/winuser.h	12 Aug 2003 07:07:10 -0000
@@ -2943,6 +2943,22 @@
 #define AW_VER_POSITIVE 0x00000004
 #define AW_VER_NEGATIVE 0x00000008
 
+/* FlashWindowEx() flags */
+#define FLASHW_STOP      0x00000000
+#define FLASHW_CAPTION   0x00000001
+#define FLASHW_TRAY      0x00000002
+#define FLASHW_ALL       (FLASHW_CAPTION|FLASHW_TRAY)
+#define FLASHW_TIMER     0x00000004
+#define FLASHW_TIMERNOFG 0x0000000C
+
+typedef struct {
+    UINT cbSize;
+    HWND hwnd;
+    DWORD dwFlags;
+    UINT uCount;
+    DWORD dwTimeout;
+} FLASHWINFO, *PFLASHWINFO;
+
 /* WM_SHOWWINDOW wParam codes */
 #define SW_PARENTCLOSING    1
 #define SW_OTHERMAXIMIZED   2
@@ -4077,6 +4093,7 @@
 HWND      WINAPI FindWindowExW(HWND,HWND,LPCWSTR,LPCWSTR);
 #define     FindWindowEx WINELIB_NAME_AW(FindWindowEx)
 BOOL        WINAPI FlashWindow(HWND,BOOL);
+BOOL        WINAPI FlashWindowEx(PFLASHWINFO);
 INT         WINAPI FrameRect(HDC,const RECT*,HBRUSH);
 HWND        WINAPI GetActiveWindow(void);
 HWND        WINAPI GetAncestor(HWND,UINT);
Index: windows/win.c
===================================================================
RCS file: /home/wine/wine/windows/win.c,v
retrieving revision 1.220
diff -u -r1.220 win.c
--- windows/win.c	5 Aug 2003 18:26:28 -0000	1.220
+++ windows/win.c	12 Aug 2003 07:07:11 -0000
@@ -3137,6 +3137,14 @@
     }
 }
 
+/*******************************************************************
+ *		FlashWindowEx (USER32.@)
+ */
+BOOL WINAPI FlashWindowEx( PFLASHWINFO pfwi )
+{
+    FIXME("%p\n", pfwi);
+    return TRUE;
+}
 
 /*******************************************************************
  *		GetWindowContextHelpId (USER32.@)
Index: dlls/user/user32.spec
===================================================================
RCS file: /home/wine/wine/dlls/user/user32.spec,v
retrieving revision 1.75
diff -u -r1.75 user32.spec
--- dlls/user/user32.spec	23 Jun 2003 23:02:03 -0000	1.75
+++ dlls/user/user32.spec	12 Aug 2003 07:07:11 -0000
@@ -203,7 +203,7 @@
 @ stdcall FindWindowExW(long long wstr wstr)
 @ stdcall FindWindowW(wstr wstr)
 @ stdcall FlashWindow(long long)
-# @ stub FlashWindowEx
+@ stdcall FlashWindowEx(ptr)
 @ stdcall FrameRect(long ptr long)
 @ stdcall FreeDDElParam(long long)
 @ stdcall GetActiveWindow()


More information about the wine-patches mailing list