public static extern WindowHandle GetWindow(
     WindowHandle hWnd,
     GetWindowOption uCmd);
 public static extern WindowHandle GetAncestor(
     WindowHandle hWnd,
     GetWindowOption gaFlags);
Пример #3
0
 public static extern IntPtr GetWindow(IntPtr hWnd, GetWindowOption option);
Пример #4
0
 public static WindowHandle GetWindow(this WindowHandle window, GetWindowOption option) => WindowMethods.GetWindow(window, option);
Пример #5
0
 /// <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));
 }