###User Defined Function###
_WinAPI_CreateEllipticRgn

###Description###
Creates an elliptical region.

###Syntax###
#include <WinAPIGdi.au3>
_WinAPI_CreateEllipticRgn ( $tRECT )


###Parameters###
@@ParamTable@@
$tRECT
	$tagRECT structure that contains the coordinates of the upper-left and lower-right corners of the bounding rectangle of the ellipse in logical units.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	The handle to the region.
Failure 	0.
@@End@@


###Remarks###
A bounding rectangle defines the size, shape, and orientation of the region: The long sides of the rectangle define the length of the ellipse's major axis; the short sides define the length of the ellipse's minor axis; and the center of the rectangle defines the intersection of the major and minor axes.

When you no longer need the HRGN object, call the <a href="_WinAPI_DeleteObject.htm">_WinAPI_DeleteObject()</a> function to delete it.


###Related###
_WinAPI_DeleteObject


###See Also###
@@MsdnLink@@ CreateEllipticRgnIndirect
