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

# ExtCreateRegion(3w)

## NAME

**ExtCreateRegion** (GDI32.@)

## SYNOPSIS

HRGN ExtCreateRegion\
  (\
   const XFORM\*   *lpXform*,\
   DWORD          *dwCount*,\
   const RGNDATA\* *rgndata*\
  )

## DESCRIPTION

Creates a region as specified by the transformation data and region data.

## PARAMS

*lpXform* **\[In\]**  World-space to logical-space transformation data.

*dwCount* **\[In\]**  Size of the data pointed to by *rgndata*, in bytes.

*rgndata* **\[In\]**  Data that specifies the region.

## RETURNS

**Success:** Handle to region.

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

## NOTES

See **[GetRegionData(3w)](/GetRegionData/3w.md)**.

## IMPLEMENTATION

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

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

Debug channel **"region"**.
