CreateEllipticRgnIndirect

Syntax

HRGN CreateEllipticRgnIndirect(lpRect)

This function creates an elliptical region.

Parameter Type/Description  
lpRect LPRECT Points to a RECT data structure that contains the coordinates of the upper-left and lower-right corners of the bounding rectangle of the ellipse.  

Return Value

The return value identifies a new region if the function is successful. Otherwise, it is NULL.

Comments

The width of the rectangle must not exceed 32,767 units. This limit applies to the height of the rectangle as well.