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/p…
==============================================================================
--- 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);
}