Region::Region(HRGN) method (gdiplusheaders.h)

Creates a region that is identical to the region that is specified by a handle to a Windows Graphics Device Interface (GDI) region.

Syntax

void Region(
  [in] HRGN hRgn
);

Parameters

[in] hRgn

Type: HRGN

Handle to an existing GDI region.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll