# Function Reference

# _WinAPI_CopyRect

Copies the coordinates of one rectangle to another

#include <WinAPIGdi.au3>
_WinAPI_CopyRect ( $tRECT )

## Parameters

$tRECT | $tagRECT structure whose coordinates are to be copied in logical units.

## Return Value

Success: | $tagRECT structure that contains the logical coordinates of the source rectangle.
Failure: | Sets the @error flag to non-zero.

## See Also

Search CopyRect in MSDN Library.