This function determines whether the two specified rectangles are equal by comparing the coordinates of their upper-left and lower-right corners.
At a Glance
Header file: | Winuser.h |
Windows CE versions: | 1.0 and later |
Syntax
BOOL EqualRect(const RECT *lprc1, const RECT *lprc2);
Parameters
lprc1
Long pointer to a RECT structure that contains the logical coordinates of the first rectangle.
lprc2
Long pointer to a RECT structure that contains the logical coordinates of the second rectangle.
Return Values
Nonzero indicates that the two rectangles are identical. Zero indicates that the two rectangles are not identical.
Windows NT: To get extended error information, call GetLastError.
See Also