mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[USER32] Fix IsWindow by not using WNDS2_INDESTROY (#6066)
Based on I_Kill_Bugs' IsWinodw.patch. CORE-11722, CORE-16432
This commit is contained in:
parent
f92c44b217
commit
84e8ea0dd5
|
@ -1549,9 +1549,8 @@ IsWindow(HWND hWnd)
|
||||||
PWND Wnd = ValidateHwndNoErr(hWnd);
|
PWND Wnd = ValidateHwndNoErr(hWnd);
|
||||||
if (Wnd != NULL)
|
if (Wnd != NULL)
|
||||||
{
|
{
|
||||||
if (Wnd->state & WNDS_DESTROYED ||
|
if (Wnd->state & WNDS_DESTROYED)
|
||||||
Wnd->state2 & WNDS2_INDESTROY)
|
return FALSE;
|
||||||
return FALSE;
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue