Example #1
0
 public static Standard.WINDOWPLACEMENT GetWindowPlacement(IntPtr hwnd)
 {
     Standard.WINDOWPLACEMENT lpwndpl = new Standard.WINDOWPLACEMENT();
     if (!GetWindowPlacement(hwnd, lpwndpl))
     {
         throw new Win32Exception();
     }
     return(lpwndpl);
 }
Example #2
0
 private static extern bool GetWindowPlacement(IntPtr hwnd, Standard.WINDOWPLACEMENT lpwndpl);