Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 1016 of file painting.c.
Referenced by IntDispatchMessage(), NtUserGetUpdateRgn(), and NtUserScrollWindowEx().
{ int RegionType; RECTL Rect; ASSERT_REFS_CO(Window); if (Window->hrgnUpdate == NULL) { RegionType = (NtGdiSetRectRgn(hRgn, 0, 0, 0, 0) ? NULLREGION : ERROR); } else { Rect = Window->rcClient; IntIntersectWithParents(Window, &Rect); NtGdiSetRectRgn(hRgn, Rect.left, Rect.top, Rect.right, Rect.bottom); RegionType = NtGdiCombineRgn(hRgn, hRgn, Window->hrgnUpdate, RGN_AND); NtGdiOffsetRgn(hRgn, -Window->rcClient.left, -Window->rcClient.top); } if (bErase && RegionType != NULLREGION && RegionType != ERROR) { co_UserRedrawWindow(Window, NULL, NULL, RDW_ERASENOW | RDW_NOCHILDREN); } return RegionType; }