Export (0) Print
Expand All
Expand Minimize

EqualRect (Compact 2013)

3/28/2014

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


BOOL EqualRect(
  const RECT* lprc1, 
  const RECT* lprc2
);

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.

Nonzero indicates that the two rectangles are identical.

Zero indicates that the two rectangles are not identical.

To get extended error information, call GetLastError.

Header

winuser.h

Library

Rectapi.lib

Show:
© 2015 Microsoft