ChildWindowFromPoint function user32

int ChildWindowFromPoint(
  1. int hWndParent,
  2. POINT Point

Determines which, if any, of the child windows belonging to a parent window contains the specified point. The search is restricted to immediate child windows. Grandchildren, and deeper descendant windows are not searched.

HWND ChildWindowFromPoint(
  HWND  hWndParent,
  POINT Point


int ChildWindowFromPoint(int hWndParent, POINT Point) =>
    _ChildWindowFromPoint(hWndParent, Point);