Skip to content

Latest commit

 

History

History
97 lines (67 loc) · 2.87 KB

nf-wingdi-createellipticrgnindirect.md

File metadata and controls

97 lines (67 loc) · 2.87 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wingdi.CreateEllipticRgnIndirect
CreateEllipticRgnIndirect function (wingdi.h)
The CreateEllipticRgnIndirect function creates an elliptical region.
CreateEllipticRgnIndirect
CreateEllipticRgnIndirect function [Windows GDI]
_win32_CreateEllipticRgnIndirect
gdi.createellipticrgnindirect
wingdi/CreateEllipticRgnIndirect
gdi\createellipticrgnindirect.htm
gdi
bd30516e-1e05-4b7d-a6bf-7512cf3ef30f
12/05/2018
CreateEllipticRgnIndirect, CreateEllipticRgnIndirect function [Windows GDI], _win32_CreateEllipticRgnIndirect, gdi.createellipticrgnindirect, wingdi/CreateEllipticRgnIndirect
wingdi.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Gdi32.lib
Gdi32.dll
Windows
19H1
CreateEllipticRgnIndirect
wingdi/CreateEllipticRgnIndirect
c++
APIRef
kbSyntax
DllExport
gdi32.dll
Ext-MS-Win-GDI-Internal-Desktop-L1-1-0.dll
GDI32Full.dll
CreateEllipticRgnIndirect

CreateEllipticRgnIndirect function

-description

The CreateEllipticRgnIndirect function creates an elliptical region.

-parameters

-param lprect [in]

Pointer to a RECT structure that contains the coordinates of the upper-left and lower-right corners of the bounding rectangle of the ellipse in logical units.

-returns

If the function succeeds, the return value is the handle to the region.

If the function fails, the return value is NULL.

-remarks

When you no longer need the HRGN object, call the DeleteObject function to delete it.

A bounding rectangle defines the size, shape, and orientation of the region: The long sides of the rectangle define the length of the ellipse's major axis; the short sides define the length of the ellipse's minor axis; and the center of the rectangle defines the intersection of the major and minor axes.

-see-also

CreateEllipticRegn

DeleteObject

RECT

Region Functions

Regions Overview

SelectObject