Example #1
0
 public WINDOWPLACEMENT GetWindowPlacement(IntPtr windowPtr)
 {
     WINDOWPLACEMENT placement = new WINDOWPLACEMENT();
     placement.length = Marshal.SizeOf(placement);
     WinApi.GetWindowPlacement(windowPtr, out placement);
     return placement;
 }
Example #2
0
 internal static extern bool GetWindowPlacement(IntPtr hWnd, out WINDOWPLACEMENT lpwndpl);