# Function Reference

# _WinAPI_CreateRect

Creates $tagRECT structure with the coordinates of the specified rectangle

#include <WinAPIMisc.au3>
_WinAPI_CreateRect ( $iLeft, $iTop, $iRight, $iBottom )

## Parameters

$iLeft | The x-coordinate of the upper-left corner of the rectangle.
$iTop | The y-coordinate of the upper-left corner of the rectangle.
$iRight | The x-coordinate of the lower-right corner of the rectangle.
$iBottom | The y-coordinate of the lower-right corner of the rectangle.

## Return Value

Returns $tagRECT structure that contains the specified rectangle.