EqualRect (Windows CE 5.0)

Send Feedback

This function determines whether the two specified rectangles are equal by comparing the coordinates of their upper left and lower right corners.

BOOLEqualRect(constRECT* lprc1, constRECT* 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.

To get extended error information, call GetLastError.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.
Link Library: Rectapi.lib.

See Also

IsRectEmpty | PtInRect | RECT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.