partial implementation of ShowWindowAsync() using the synchronous NtUserShowWindow() call to activate the desktop switcher
Modified: trunk/reactos/include/win32k/ntuser.h
Modified: trunk/reactos/lib/user32/windows/window.c
Modified: trunk/reactos/subsys/win32k/ntuser/window.c

Modified: trunk/reactos/include/win32k/ntuser.h
--- trunk/reactos/include/win32k/ntuser.h	2005-10-05 13:25:14 UTC (rev 18270)
+++ trunk/reactos/include/win32k/ntuser.h	2005-10-05 14:47:07 UTC (rev 18271)
@@ -1568,11 +1568,11 @@
   HWND hWnd,
   LONG nCmdShow);
 
-DWORD
+BOOL
 STDCALL
 NtUserShowWindowAsync(
-  DWORD Unknown0,
-  DWORD Unknown1);
+  HWND hWnd,
+  LONG nCmdShow);
 
 BOOL
 STDCALL

Modified: trunk/reactos/lib/user32/windows/window.c
--- trunk/reactos/lib/user32/windows/window.c	2005-10-05 13:25:14 UTC (rev 18270)
+++ trunk/reactos/lib/user32/windows/window.c	2005-10-05 14:47:07 UTC (rev 18271)
@@ -1280,8 +1280,7 @@
 ShowWindowAsync(HWND hWnd,
 		int nCmdShow)
 {
-  UNIMPLEMENTED;
-  return FALSE;
+  return NtUserShowWindowAsync(hWnd, nCmdShow);
 }
 
 

Modified: trunk/reactos/subsys/win32k/ntuser/window.c
--- trunk/reactos/subsys/win32k/ntuser/window.c	2005-10-05 13:25:14 UTC (rev 18270)
+++ trunk/reactos/subsys/win32k/ntuser/window.c	2005-10-05 14:47:07 UTC (rev 18271)
@@ -4162,13 +4162,15 @@
 /*
  * @unimplemented
  */
-DWORD STDCALL
-NtUserShowWindowAsync(DWORD Unknown0,
-                      DWORD Unknown1)
+BOOL STDCALL
+NtUserShowWindowAsync(HWND hWnd, LONG nCmdShow)
 {
+#if 0
    UNIMPLEMENTED
-
    return 0;
+#else
+   return NtUserShowWindow(hWnd, nCmdShow);
+#endif
 }