mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +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
1 changed files with 2 additions and 3 deletions
|
@ -1549,9 +1549,8 @@ IsWindow(HWND hWnd)
|
|||
PWND Wnd = ValidateHwndNoErr(hWnd);
|
||||
if (Wnd != NULL)
|
||||
{
|
||||
if (Wnd->state & WNDS_DESTROYED ||
|
||||
Wnd->state2 & WNDS2_INDESTROY)
|
||||
return FALSE;
|
||||
if (Wnd->state & WNDS_DESTROYED)
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue