Gdi32CreateRectRgnIndirect(NativeRectangle) 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 NativeRectangle refRect
)
<DllImportAttribute("GDI32.dll">]
Public Shared Function CreateRectRgnIndirect (
ByRef refRect As NativeRectangle
) As IntPtr
Dim refRect As NativeRectangle
Dim returnValue As IntPtr
returnValue = Gdi32.CreateRectRgnIndirect(refRect)
public:
[DllImportAttribute(L"GDI32.dll")]
static IntPtr CreateRectRgnIndirect(
[InAttribute] NativeRectangle% refRect
)
[<DllImportAttribute("GDI32.dll")>]
static member CreateRectRgnIndirect :
refRect : NativeRectangle byref -> IntPtr
No code example is currently available or this language may not be supported.
- refRect NativeRectangle
-
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.