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.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: 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
)

Parameters

hRgn1  IntPtr
Handle to a region.
hRgn2  IntPtr
Handle to a region.

Return Value

Boolean
If the two regions are equal, the return value is .

If the two regions are not equal, the return value is .

Remarks

See Also