Author: dchapyshev
Date: Thu Jan 15 04:18:10 2009
New Revision: 38766
URL:
http://svn.reactos.org/svn/reactos?rev=38766&view=rev
Log:
- Implement FlashWindow
Modified:
trunk/reactos/dll/win32/user32/windows/draw.c
Modified: trunk/reactos/dll/win32/user32/windows/draw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/d…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] Thu Jan 15 04:18:10 2009
@@ -1797,13 +1797,20 @@
}
/*
- * @unimplemented
+ * @implemented
*/
BOOL WINAPI
FlashWindow(HWND hWnd, BOOL bInvert)
{
- UNIMPLEMENTED;
- return FALSE;
+ FLASHWINFO FlashWndInfo;
+
+ FlashWndInfo.cbSize = sizeof(FLASHWINFO);
+ FlashWndInfo.hwnd = hWnd;
+ FlashWndInfo.dwFlags = !bInvert ? 0 : (FLASHW_TRAY | FLASHW_CAPTION);
+ FlashWndInfo.uCount = 1;
+ FlashWndInfo.dwTimeout = 0;
+
+ return NtUserFlashWindowEx(&FlashWndInfo);
}
/*