public static extern WindowHandle GetWindow( WindowHandle hWnd, GetWindowOption uCmd);
public static extern WindowHandle GetAncestor( WindowHandle hWnd, GetWindowOption gaFlags);
public static extern IntPtr GetWindow(IntPtr hWnd, GetWindowOption option);
public static WindowHandle GetWindow(this WindowHandle window, GetWindowOption option) => WindowMethods.GetWindow(window, option);
/// <summary> /// Gets the specified related Window to get given Window if it exists. Otherwise /// returns a null WindowHandle. /// </summary> public static WindowHandle GetWindow(WindowHandle window, GetWindowOption option) { return(Imports.GetWindow(window, option)); }