mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 02:26:03 +00:00
implement NtUserInvalidateRect and NtUserInvalidateRgn
svn path=/trunk/; revision=28033
This commit is contained in:
parent
59d3012d08
commit
52b31af55d
1 changed files with 20 additions and 0 deletions
|
@ -1910,4 +1910,24 @@ NtUserDrawCaption(HWND hWnd,
|
||||||
return NtUserDrawCaptionTemp(hWnd, hDC, lpRc, 0, 0, NULL, uFlags);
|
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 */
|
/* EOF */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue