# Function Reference

# _WinAPI_CreateRectEx

Creates $tagRECT structure with the coordinates of the specified rectangle

#include <WinAPIMisc.au3>
_WinAPI_CreateRectEx ( $iX, $iY, $iWidth, $iHeight )

## Parameters

$iX | The x-coordinate of the upper-left corner of the rectangle.
$iY | The y-coordinate of the upper-left corner of the rectangle.
$iWidth | The width of the rectangle.
$iHeight | The height of the rectangle.

## Return Value

Returns $tagRECT structure that contains the specified rectangle.