UnionRect

[DllImport("user32.dll", SetLastError = true)]
public static extern bool UnionRect(
   out RECT lprcDst,
   [In] ref RECT lprcSrc1,
   [In] ref RECT lprcSrc2
);

Microsoft documentation: Link

Last updated