# Function Reference

# _WinAPI_EqualRect

Determines whether the two specified rectangles are equal

#include <WinAPIGdi.au3>
_WinAPI_EqualRect ( $tRECT1, $tRECT2 )

## Parameters

$tRECT1 | $tagRECT structure that contains the logical coordinates of the first rectangle.
$tRECT2 | $tagRECT structure that contains the logical coordinates of the second rectangle.

## Return Value

Success: | True - The two rectangles are identical.
Failure: | False.

## Remarks

This function does not treat empty rectangles as equal if their coordinates are different.

## See Also

Search EqualRect in MSDN Library.