mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 07:41:51 +00:00
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:
parent
3b7f8774ac
commit
c5eb377a58
1 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@ InvalidateRect(
|
||||||
CONST RECT *lpRect,
|
CONST RECT *lpRect,
|
||||||
BOOL bErase)
|
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,
|
HRGN hRgn,
|
||||||
BOOL bErase)
|
BOOL bErase)
|
||||||
{
|
{
|
||||||
return RedrawWindow(hWnd, NULL, hRgn, RDW_INVALIDATE | (bErase ? RDW_ERASE : 0) );
|
return NtUserInvalidateRgn(hWnd, hRgn, bErase);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue