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