projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704232a
)
Window handle is not valid anymore when the object is in "destroyed" state
author
Gé van Geldorp
<ge@gse.nl>
Fri, 9 Sep 2005 09:50:58 +0000
(09:50 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Fri, 9 Sep 2005 09:50:58 +0000
(09:50 +0000)
svn path=/trunk/; revision=17759
reactos/subsys/win32k/ntuser/window.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/win32k/ntuser/window.c
b/reactos/subsys/win32k/ntuser/window.c
index
2f3883a
..
5135a70
100644
(file)
--- a/
reactos/subsys/win32k/ntuser/window.c
+++ b/
reactos/subsys/win32k/ntuser/window.c
@@
-117,7
+117,7
@@
PWINDOW_OBJECT FASTCALL UserGetWindowObject(HWND hWnd)
if (!hWnd) return NULL;
Window = (PWINDOW_OBJECT)UserGetObject(&gHandleTable, hWnd, otWindow);
- if (!Window)
+ if (!Window
|| 0 != (Window->Status & WINDOWSTATUS_DESTROYED)
)
{
SetLastWin32Error(ERROR_INVALID_WINDOW_HANDLE);
return NULL;