FindWindowEx

[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Ansi)]
public static extern IntPtr FindWindowExA(IntPtr hWndParent,
   IntPtr hWndChildAfter,
   string lpszClass,
   string lpszWindow
);

Microsoft documentation: Link

Last updated