UnionRect function user32

int UnionRect(
  1. Pointer<RECT> lprcDst,
  2. Pointer<RECT> lprcSrc1,
  3. Pointer<RECT> lprcSrc2
)

The UnionRect function creates the union of two rectangles. The union is the smallest rectangle that contains both source rectangles.

BOOL UnionRect(
  LPRECT     lprcDst,
  const RECT *lprcSrc1,
  const RECT *lprcSrc2
);

Implementation

int UnionRect(Pointer<RECT> lprcDst, Pointer<RECT> lprcSrc1,
        Pointer<RECT> lprcSrc2) =>
    _UnionRect(lprcDst, lprcSrc1, lprcSrc2);