implement NtUserInvalidateRect and NtUserInvalidateRgn

svn path=/trunk/; revision=28033
This commit is contained in:
Timo Kreuzer 2007-07-30 03:30:55 +00:00
parent 59d3012d08
commit 52b31af55d

View file

@ -1910,4 +1910,24 @@ NtUserDrawCaption(HWND hWnd,
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 */