GetAncestor function Null safety user32

int GetAncestor(
  1. int hwnd,
  2. int gaFlags
)

Retrieves the handle to the ancestor of the specified window.

HWND GetAncestor(
  HWND hwnd,
  UINT gaFlags
);

Implementation

int GetAncestor(int hwnd, int gaFlags) => _GetAncestor(hwnd, gaFlags);