Author: tkreuzer
Date: Mon Jul 30 07:30:55 2007
New Revision: 28033
URL:
http://svn.reactos.org/svn/reactos?rev=28033&view=rev
Log:
implement NtUserInvalidateRect and NtUserInvalidateRgn
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/painting.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/painting.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/painting.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/painting.c Mon Jul 30 07:30:55 2007
@@ -1910,4 +1910,24 @@
return NtUserDrawCaptionTemp(hWnd, hDC, lpRc, 0, 0, NULL, uFlags);
}
+BOOL
+NTAPI
+NtUserInvalidateRect(
+ HWND hWnd,
+ CONST RECT *lpUnsafeRect,
+ BOOL bErase)
+{
+ return NtUserRedrawWindow(hWnd, lpUnsafeRect, NULL, RDW_INVALIDATE | (bErase?
RDW_ERASE : 0));
+}
+
+BOOL
+NTAPI
+NtUserInvalidateRgn(
+ HWND hWnd,
+ HRGN hRgn,
+ BOOL bErase)
+{
+ return NtUserRedrawWindow(hWnd, NULL, hRgn, RDW_INVALIDATE | (bErase? RDW_ERASE :
0));
+}
+
/* EOF */