Gdi32EqualRgn Method
Checks the two specified regions to determine whether they are identical.
The function considers two regions identical if they are equal in size and shape.
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 bool EqualRgn(
IntPtr hRgn1,
IntPtr hRgn2
)
<DllImportAttribute("GDI32.dll", SetLastError := true>]
Public Shared Function EqualRgn (
hRgn1 As IntPtr,
hRgn2 As IntPtr
) As Boolean
Dim hRgn1 As IntPtr
Dim hRgn2 As IntPtr
Dim returnValue As Boolean
returnValue = Gdi32.EqualRgn(hRgn1,
hRgn2)
public:
[DllImportAttribute(L"GDI32.dll", SetLastError = true)]
static bool EqualRgn(
IntPtr hRgn1,
IntPtr hRgn2
)
[<DllImportAttribute("GDI32.dll", SetLastError = true)>]
static member EqualRgn :
hRgn1 : IntPtr *
hRgn2 : IntPtr -> bool
No code example is currently available or this language may not be supported.
- hRgn1 IntPtr
-
Handle to a region.
- hRgn2 IntPtr
-
Handle to a region.
Boolean
If the two regions are equal, the return value is
.
If the two regions are not equal, the return value is
.