Add 5th parameter to NtUserFindWindowEx

svn path=/trunk/; revision=29269
This commit is contained in:
Timo Kreuzer 2007-09-28 05:01:27 +00:00
parent 51de002eae
commit 88cd9f01f0
4 changed files with 9 additions and 6 deletions

View file

@ -728,7 +728,8 @@ FindWindowExA(HWND hwndParent,
Result = NtUserFindWindowEx(hwndParent, Result = NtUserFindWindowEx(hwndParent,
hwndChildAfter, hwndChildAfter,
pucClassName, pucClassName,
pucWindowName); pucWindowName,
0);
if (!IS_ATOM(lpszClass) && lpszClass != NULL) if (!IS_ATOM(lpszClass) && lpszClass != NULL)
RtlFreeUnicodeString(&ucClassName); RtlFreeUnicodeString(&ucClassName);
@ -774,7 +775,8 @@ FindWindowExW(HWND hwndParent,
return NtUserFindWindowEx(hwndParent, return NtUserFindWindowEx(hwndParent,
hwndChildAfter, hwndChildAfter,
pucClassName, pucClassName,
pucWindowName); pucWindowName,
0);
} }

View file

@ -902,7 +902,8 @@ NtUserFindWindowEx(
HWND hwndParent, HWND hwndParent,
HWND hwndChildAfter, HWND hwndChildAfter,
PUNICODE_STRING ucClassName, PUNICODE_STRING ucClassName,
PUNICODE_STRING ucWindowName PUNICODE_STRING ucWindowName,
DWORD dwUnknown
); );
DWORD DWORD

View file

@ -2464,7 +2464,8 @@ HWND STDCALL
NtUserFindWindowEx(HWND hwndParent, NtUserFindWindowEx(HWND hwndParent,
HWND hwndChildAfter, HWND hwndChildAfter,
PUNICODE_STRING ucClassName, PUNICODE_STRING ucClassName,
PUNICODE_STRING ucWindowName) PUNICODE_STRING ucWindowName,
DWORD dwUnknown)
{ {
PWINDOW_OBJECT Parent, ChildAfter; PWINDOW_OBJECT Parent, ChildAfter;
UNICODE_STRING ClassName = {0}, WindowName = {0}; UNICODE_STRING ClassName = {0}, WindowName = {0};

View file

@ -384,7 +384,7 @@ NtUserEvent 1
NtUserExcludeUpdateRgn 2 NtUserExcludeUpdateRgn 2
NtUserFillWindow 4 NtUserFillWindow 4
# NtUserFindExistingCursorIcon 3 Wrong number of param ? # NtUserFindExistingCursorIcon 3 Wrong number of param ?
# NtUserFindWindowEx 5 Wrong number of param ? NtUserFindWindowEx 5
NtUserFlashWindowEx 1 NtUserFlashWindowEx 1
NtUserGetAltTabInfo 6 NtUserGetAltTabInfo 6
NtUserGetAncestor 2 NtUserGetAncestor 2
@ -678,7 +678,6 @@ NtGdiDrawStream 3
# Wrong number of param ? # Wrong number of param ?
NtUserEnumDisplayMonitors 5 NtUserEnumDisplayMonitors 5
NtUserFindExistingCursorIcon 4 NtUserFindExistingCursorIcon 4
NtUserFindWindowEx 4
NtUserGetClassInfo 4 NtUserGetClassInfo 4
NtUserInitTask 11 NtUserInitTask 11
NtUserSetCursorIconData 6 NtUserSetCursorIconData 6