mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
implement NtUserInvalidateRect and NtUserInvalidateRgn
svn path=/trunk/; revision=28033
This commit is contained in:
parent
59d3012d08
commit
52b31af55d
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue