From 0e27c979a6260a4e09d7961fdd3cc3549c72d438 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Tue, 12 Aug 2003 20:33:26 +0000 Subject: [PATCH] Stub implementation of FlashWindowEx. --- dlls/user/user32.spec | 2 +- include/winuser.h | 17 +++++++++++++++++ windows/win.c | 8 ++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec index 112f8b26650..0d74dd996ef 100644 --- a/dlls/user/user32.spec +++ b/dlls/user/user32.spec @@ -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() diff --git a/include/winuser.h b/include/winuser.h index 90a115634b7..9d449ec21d7 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -2943,6 +2943,22 @@ typedef struct tagMINIMIZEDMETRICS { #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 FindWindowExA(HWND,HWND,LPCSTR,LPCSTR); 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); diff --git a/windows/win.c b/windows/win.c index e4eafab694e..704d8e2423d 100644 --- a/windows/win.c +++ b/windows/win.c @@ -3137,6 +3137,14 @@ BOOL WINAPI FlashWindow( HWND hWnd, BOOL bInvert ) } } +/******************************************************************* + * FlashWindowEx (USER32.@) + */ +BOOL WINAPI FlashWindowEx( PFLASHWINFO pfwi ) +{ + FIXME("%p\n", pfwi); + return TRUE; +} /******************************************************************* * GetWindowContextHelpId (USER32.@)