public static extern IntPtr GetWindow(IntPtr hWnd, WindowRelationship uCmd);
 /// <summary>
 /// Gets the window.
 /// </summary>
 /// <param name="window">The window.</param>
 /// <param name="relationship">The relationship.</param>
 /// <returns></returns>
 public static WindowHandle GetWindow(IWin32Window window, WindowRelationship relationship)
 {
     return GetWindow(window.Handle, relationship);
 }
 public static extern IntPtr GetWindow( IntPtr windowHandle, WindowRelationship relationship );