Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExtCreateRegion function

The ExtCreateRegion function creates a region from the specified region and transformation data.

Syntax


HRGN ExtCreateRegion(
  _In_ const XFORM   *lpXform,
  _In_       DWORD   nCount,
  _In_ const RGNDATA *lpRgnData
);

Parameters

lpXform [in]

A pointer to an XFORM structure that defines the transformation to be performed on the region. If this pointer is NULL, the identity transformation is used.

nCount [in]

The number of bytes pointed to by lpRgnData.

lpRgnData [in]

A pointer to a RGNDATA structure that contains the region data in logical units.

Return value

If the function succeeds, the return value is the value of the region.

If the function fails, the return value is NULL.

Remarks

Region coordinates are represented as 27-bit signed integers.

An application can retrieve data for a region by calling the GetRegionData function.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

Library

Gdi32.lib

DLL

Gdi32.dll

See also

Regions Overview
Region Functions
CreatePolygonRgn
CreatePolyPolygonRgn
CreateRectRgn
CreateRectRgnIndirect
CreateRoundRectRgn
GetRegionData
RGNDATA
XFORM

 

 

Show: