internal static void GetWindowPlacement(HandleRef hWnd, ref WINDOWPLACEMENT placement)
 {
     if (!IntGetWindowPlacement(hWnd, ref placement))
     {
         throw new Win32Exception();
     }
 }
 private static extern bool IntGetWindowPlacement(HandleRef hWnd, ref WINDOWPLACEMENT placement);
Example #3
0
 private static extern bool IntSetWindowPlacement(HandleRef hWnd, [In] ref WINDOWPLACEMENT placement);