partial implementation of ShowWindowAsync() using the synchronous NtUserShowWindow() call to activate the desktop switcher

svn path=/trunk/; revision=18271
This commit is contained in:
Martin Fuchs 2005-10-05 14:47:07 +00:00
parent f8b4f3f219
commit 5f5bf68c82
3 changed files with 10 additions and 9 deletions

View file

@ -1568,11 +1568,11 @@ NtUserShowWindow(
HWND hWnd, HWND hWnd,
LONG nCmdShow); LONG nCmdShow);
DWORD BOOL
STDCALL STDCALL
NtUserShowWindowAsync( NtUserShowWindowAsync(
DWORD Unknown0, HWND hWnd,
DWORD Unknown1); LONG nCmdShow);
BOOL BOOL
STDCALL STDCALL

View file

@ -1280,8 +1280,7 @@ BOOL STDCALL
ShowWindowAsync(HWND hWnd, ShowWindowAsync(HWND hWnd,
int nCmdShow) int nCmdShow)
{ {
UNIMPLEMENTED; return NtUserShowWindowAsync(hWnd, nCmdShow);
return FALSE;
} }

View file

@ -4162,13 +4162,15 @@ CLEANUP:
/* /*
* @unimplemented * @unimplemented
*/ */
DWORD STDCALL BOOL STDCALL
NtUserShowWindowAsync(DWORD Unknown0, NtUserShowWindowAsync(HWND hWnd, LONG nCmdShow)
DWORD Unknown1)
{ {
#if 0
UNIMPLEMENTED UNIMPLEMENTED
return 0; return 0;
#else
return NtUserShowWindow(hWnd, nCmdShow);
#endif
} }