Gdi32PtInRegion(IntPtr, Int32, Int32) Method

Determines whether the specified point is inside the specified region.

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 PtInRegion(
	IntPtr hrgn,
	int x,
	int y
)

Parameters

hrgn  IntPtr
A Handle to the region to be examined.
x  Int32
The x-coordinate of the point in logical units.
y  Int32
The y-coordinate of the point in logical units.

Return Value

Boolean
If the specified point is in the region, the return value is .

If the specified point is not in the region, the return value is

Remarks

See Also