[ros-diffs] [jimtabor] 41753: - More Window Threads issues. Need to finish the window object rewrite!
jimtabor at svn.reactos.org
jimtabor at svn.reactos.org
Fri Jul 3 10:03:57 CEST 2009
- Previous message: [ros-diffs] [cgutman] 41752: - TCPIP lock rewrite (part 3 of 3) - Use a spin lock to protect the signalled connections list - Add a debug ASSERT into each function that depends on the TCPLock being held - Release TCPLock before completing the IRP - Add some locking where it was forgotten - Optimize HandleSignalledConnection
- Next message: [ros-diffs] [dchapyshev] 41754: - Use PWINDOW_OBJECT instead HWND in PostTimerMessages, IntGetPaintMessage, co_MsqTranslateMouseMessage, co_MsqPeekHardwareMessage, co_MsqFindMessage, co_MsqWaitForNewMessages, MsqGetTimerMessage, MsqGetFirstTimerExpiry, co_IntPeekMessage - Allow hWnd equal -1, 0x0000ffff, 0xffffffff - Fixes 3 winetests for PeekMessageA/W
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jimtabor
Date: Fri Jul 3 12:03:56 2009
New Revision: 41753
URL: http://svn.reactos.org/svn/reactos?rev=41753&view=rev
Log:
- More Window Threads issues. Need to finish the window object rewrite!
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/vis.c
trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/vis.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/vis.c?rev=41753&r1=41752&r2=41753&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/vis.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/vis.c [iso-8859-1] Fri Jul 3 12:03:56 2009
@@ -43,7 +43,7 @@
Wnd = Window->Wnd;
- if (!(Wnd->Style & WS_VISIBLE))
+ if (!Wnd || !(Wnd->Style & WS_VISIBLE))
{
return NULL;
}
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c?rev=41753&r1=41752&r2=41753&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] Fri Jul 3 12:03:56 2009
@@ -759,6 +759,9 @@
WinPosFixupFlags(WINDOWPOS *WinPos, PWINDOW_OBJECT Window)
{
PWINDOW Wnd = Window->Wnd;
+
+ if (!Wnd) return FALSE;
+
if (Wnd->Style & WS_VISIBLE)
{
WinPos->flags &= ~SWP_SHOWWINDOW;
- Previous message: [ros-diffs] [cgutman] 41752: - TCPIP lock rewrite (part 3 of 3) - Use a spin lock to protect the signalled connections list - Add a debug ASSERT into each function that depends on the TCPLock being held - Release TCPLock before completing the IRP - Add some locking where it was forgotten - Optimize HandleSignalledConnection
- Next message: [ros-diffs] [dchapyshev] 41754: - Use PWINDOW_OBJECT instead HWND in PostTimerMessages, IntGetPaintMessage, co_MsqTranslateMouseMessage, co_MsqPeekHardwareMessage, co_MsqFindMessage, co_MsqWaitForNewMessages, MsqGetTimerMessage, MsqGetFirstTimerExpiry, co_IntPeekMessage - Allow hWnd equal -1, 0x0000ffff, 0xffffffff - Fixes 3 winetests for PeekMessageA/W
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Ros-diffs
mailing list