예제 #1
0
 public static bool GetWindowPlacement(IntPtr hWnd, out WindowPlacement placement)
 {
     placement        = new WindowPlacement();
     placement.Length = Marshal.SizeOf(typeof(WindowPlacement));
     return(InternalGetWindowPlacement(hWnd, ref placement));
 }
예제 #2
0
 private static extern bool InternalGetWindowPlacement(IntPtr hWnd, ref WindowPlacement lpwndpl);