INT PASCAL UnionRect(LPRECT pDest, LPRECT pRect1, LPRECT pRect2) This function performs a union of two rectangles. Parameters pDest is a pointer to the rectangle which receives the union. pRect1 and pRect2 are pointers to the two rectangles to union. Returns TRUE if the resulting union is not empty, FALSE if it is empty. .