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.

svn path=/trunk/; revision=28036
This commit is contained in:
Timo Kreuzer 2007-07-30 04:03:00 +00:00
parent 3b7f8774ac
commit c5eb377a58

View file

@ -157,7 +157,7 @@ InvalidateRect(
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 @@ InvalidateRgn(
HRGN hRgn,
BOOL bErase)
{
return RedrawWindow(hWnd, NULL, hRgn, RDW_INVALIDATE | (bErase ? RDW_ERASE : 0) );
return NtUserInvalidateRgn(hWnd, hRgn, bErase);
}