win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinEqualRect (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINRECTANGLES
 
BOOL WinEqualRect(hab, prcl1, prcl2)
HAB hab;         /* handle of the anchor block                */
PRECTL prcl1;    /* address of structure for first rectangle  */
PRECTL prcl2;    /* address of structure for second rectangle */
 
The WinEqualRect function compares two rectangles for equality. Equal
rectangles have identical coordinates (all sides are the same).
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hab        Identifies the anchor block.
 
prcl1      Points to the RECTL structure that contains the first rectangle.
 
prcl2      Points to the RECTL structure that contains the second
           rectangle.
 
Return Value
 
The return value is TRUE if the rectangles are equal, or FALSE if they are
not.
 
See Also
 
RECTL