[ros-diffs] [tkreuzer] 28036: use NtUserInvalidateRect and NtUserInvalidateRgn in user32. Should be redirected directly in.def file, but it breaks a lot of references, so currently only calling it.
tkreuzer at svn.reactos.org
tkreuzer at svn.reactos.org
Mon Jul 30 06:03:00 CEST 2007
Author: tkreuzer
Date: Mon Jul 30 08:03:00 2007
New Revision: 28036
URL: http://svn.reactos.org/svn/reactos?rev=28036&view=rev
Log:
use NtUserInvalidateRect and NtUserInvalidateRgn in user32. Should be redirected directly in.def file, but it breaks a lot of references, so currently only calling it.
Modified:
trunk/reactos/dll/win32/user32/windows/paint.c
Modified: trunk/reactos/dll/win32/user32/windows/paint.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/paint.c?rev=28036&r1=28035&r2=28036&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/paint.c (original)
+++ trunk/reactos/dll/win32/user32/windows/paint.c Mon Jul 30 08:03:00 2007
@@ -157,7 +157,7 @@
CONST RECT *lpRect,
BOOL bErase)
{
- return RedrawWindow( hWnd, lpRect, 0, RDW_INVALIDATE | (bErase ? RDW_ERASE : 0) );
+ return NtUserInvalidateRect(hWnd, lpRect, bErase);
}
@@ -171,7 +171,7 @@
HRGN hRgn,
BOOL bErase)
{
- return RedrawWindow(hWnd, NULL, hRgn, RDW_INVALIDATE | (bErase ? RDW_ERASE : 0) );
+ return NtUserInvalidateRgn(hWnd, hRgn, bErase);
}
More information about the Ros-diffs
mailing list