Gdi32CreateEllipticRgnIndirect(Rectangle) Method
Creates an elliptical region.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("GDI32.dll", SetLastError = true)]
public static IntPtr CreateEllipticRgnIndirect(
ref Rectangle refRect
)
<DllImportAttribute("GDI32.dll", SetLastError := true>]
Public Shared Function CreateEllipticRgnIndirect (
ByRef refRect As Rectangle
) As IntPtr
Dim refRect As Rectangle
Dim returnValue As IntPtr
returnValue = Gdi32.CreateEllipticRgnIndirect(refRect)
public:
[DllImportAttribute(L"GDI32.dll", SetLastError = true)]
static IntPtr CreateEllipticRgnIndirect(
Rectangle% refRect
)
[<DllImportAttribute("GDI32.dll", SetLastError = true)>]
static member CreateEllipticRgnIndirect :
refRect : Rectangle byref -> IntPtr
No code example is currently available or this language may not be supported.
- refRect Rectangle
-
A Rectangle structure that contains the coordinates of the
upper-left and lower-right corners of the bounding rectangle of the ellipse in logical units.
IntPtr
If the function succeeds, the return value is the handle to the region.
If the function fails, the return value is
Zero.