WINDOWPLACEMENT (Structures)
Last changed: -202.74.138.1

.
Summary
The WINDOWPLACEMENT structure contains information about the placement of a window on the screen.

C# Definition:

[ StructLayout(LayoutKind.Sequential) ]

public struct WINDOWPLACEMENT

{

    public int length;
    public int flags;
    public int showCmd;
    public POINT ptMinPosition;
    public POINT ptMaxPosition;
    public RECT rcNormalPosition;

}

VB Definition:

<StructLayout(LayoutKind.Sequential)> _
Public Structure WINDOWPLACEMENT
     Public length As Integer
     Public flags As Integer
     Public showCmd As Integer
     Public minPosition As POINT
     Public maxPosition As POINT
     Public normalPosition As RECT
End Structure

User-Defined Field Types:

POINT, RECT

Notes:

Use with GetWindowPlacement and SetWindowPlacement

Documentation