User32WindowFromPhysicalPoint(Point) Method

Retrieves a handle to the window that contains the specified physical point.

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("User32.dll", ExactSpelling = true)]
public static IntPtr WindowFromPhysicalPoint(
	Point pt
)

Parameters

pt  Point
The physical coordinates of the point

Return Value

IntPtr
A handle to the window that contains the given physical point.

If no window exists at the point, this value is Zero.

Remarks

See Also