From 65254afcefcdccd2042f332295550b18f120c4f5 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Tue, 27 Jan 2009 22:04:37 +0000 Subject: [PATCH] - Set the length for IntGetWindowPlacement. svn path=/trunk/; revision=39154 --- reactos/subsystems/win32/win32k/ntuser/window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/window.c b/reactos/subsystems/win32/win32k/ntuser/window.c index cf43dbcf680..3134b25063c 100644 --- a/reactos/subsystems/win32/win32k/ntuser/window.c +++ b/reactos/subsystems/win32/win32k/ntuser/window.c @@ -3081,7 +3081,8 @@ NtUserGetInternalWindowPos( HWND hWnd, } _SEH2_END; - + wndpl.length = sizeof(WINDOWPLACEMENT); + if (IntGetWindowPlacement(Window, &wndpl) && !Hit) { _SEH2_TRY