---
name: "CreateEllipticRgnIndirect"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/CreateEllipticRgnIndirect"
---

# CreateEllipticRgnIndirect(3w)

## NAME

**CreateEllipticRgnIndirect** (GDI32.@)

## SYNOPSIS

HRGN CreateEllipticRgnIndirect\
  (\
   const RECT\* *rect*\
  )

## DESCRIPTION

Creates an elliptical region.

## PARAMS

*rect* **\[In\]**  Pointer to bounding rectangle of the ellipse.

## RETURNS

**Success:** Handle to region.

**Failure:** **NULL**.

## NOTES

This is a special case of **[CreateRoundRectRgn(3w)](/CreateRoundRectRgn/3w.md)** where the width of the ellipse at each corner is equal to the width the rectangle and the same for the height.

## IMPLEMENTATION

Declared in **"wingdi.h"**.

Implemented in **"dlls/gdi32/region.c"**.

Debug channel **"region"**.
