- Implemented FindWindowEx*() (it was already implemented in subsys\win32k\ntuser\window.c with the exception of a small bug, but wasn't mapped to by user32??) FIXED

- FindWindow() is also implemented, though not properly. (Someone has it set up to use FindWindowEx, this isn't the proper way to do this...FindWindow doesn't search children...)

svn path=/trunk/; revision=4744
This commit is contained in:
Richard Campbell 2003-05-23 17:07:12 +00:00
parent 832463b116
commit 04572bc608
4 changed files with 9 additions and 11 deletions

View file

@ -348,7 +348,7 @@ NtUserEvent 1
NtUserExcludeUpdateRgn 2
NtUserFillWindow 4
NtUserFindExistingCursorIcon 3
NtUserFindWindowEx 5
NtUserFindWindowEx 4
NtUserFlashWindowEx 1
NtUserGetAltTabInfo 6
NtUserGetAncestor 2

View file

@ -499,9 +499,9 @@ STDCALL
NtUserFindWindowEx(
HWND hwndParent,
HWND hwndChildAfter,
PUNICODE_STRING ucClassName,
PUNICODE_STRING ucWindowName,
DWORD Unknown4);
LPCWSTR ucClassName,
LPCWSTR ucWindowName
);
DWORD
STDCALL

View file

@ -1,4 +1,4 @@
/* $Id: window.c,v 1.34 2003/05/23 16:44:12 rcampbell Exp $
/* $Id: window.c,v 1.35 2003/05/23 17:07:12 rcampbell Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS user32.dll
@ -671,8 +671,7 @@ FindWindowExW(HWND hwndParent,
LPCWSTR lpszClass,
LPCWSTR lpszWindow)
{
UNIMPLEMENTED;
return (HWND)0;
return NtUserFindWindowEx(hwndParent, hwndChildAfter, lpszClass, lpszWindow);
}
WINBOOL STDCALL

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: window.c,v 1.46 2003/05/23 16:44:12 rcampbell Exp $
/* $Id: window.c,v 1.47 2003/05/23 17:07:12 rcampbell Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -756,9 +756,8 @@ NtUserFillWindow(DWORD Unknown0,
HWND STDCALL
NtUserFindWindowEx(HWND hwndParent,
HWND hwndChildAfter,
PUNICODE_STRING ucClassName,
PUNICODE_STRING ucWindowName,
DWORD Unknown4)
LPCWSTR ucClassName,
LPCWSTR ucWindowName)
{
#if 0
NTSTATUS status;