ChildWindowFromPointEx function Null safety user32

int ChildWindowFromPointEx (
  1. int hwnd,
  2. POINT pt,
  3. int flags
)

Determines which, if any, of the child windows belonging to the specified parent window contains the specified point. The function can ignore invisible, disabled, and transparent child windows. Grandchildren and deeper descendants are not searched.

HWND ChildWindowFromPointEx(
  HWND  hwnd,
  POINT pt,
  UINT  flags
);

Implementation

int ChildWindowFromPointEx(int hwnd, POINT pt, int flags) {
  final _ChildWindowFromPointEx = _user32.lookupFunction<
      IntPtr Function(IntPtr hwnd, POINT pt, Uint32 flags),
      int Function(int hwnd, POINT pt, int flags)>('ChildWindowFromPointEx');
  return _ChildWindowFromPointEx(hwnd, pt, flags);
}