Gdi32CreateRectRgnIndirect(Rectangle) Method
Creates a rectangular 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")]
public static IntPtr CreateRectRgnIndirect(
in Rectangle refRect
)
<DllImportAttribute("GDI32.dll">]
Public Shared Function CreateRectRgnIndirect (
ByRef refRect As Rectangle
) As IntPtr
Dim refRect As Rectangle
Dim returnValue As IntPtr
returnValue = Gdi32.CreateRectRgnIndirect(refRect)
public:
[DllImportAttribute(L"GDI32.dll")]
static IntPtr CreateRectRgnIndirect(
[InAttribute] Rectangle% refRect
)
[<DllImportAttribute("GDI32.dll")>]
static member CreateRectRgnIndirect :
refRect : Rectangle byref -> IntPtr
No code example is currently available or this language may not be supported.
- refRect Rectangle
-
A pointer to a NativeRectangle structure that contains the coordinates of the
upper-left and lower-right corners of the rectangle that defines the region 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.