Class WINDOWPLACEMENT

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class WINDOWPLACEMENT extends Struct<WINDOWPLACEMENT> implements NativeResource

 struct WINDOWPLACEMENT {
     UINT length;
     UINT flags;
     UINT showCmd;
     {@link POINT POINT} ptMinPosition;
     {@link POINT POINT} ptMaxPosition;
     {@link RECT RECT} rcNormalPosition;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • LENGTH

      public static final int LENGTH
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • SHOWCMD

      public static final int SHOWCMD
      The struct member offsets.
    • PTMINPOSITION

      public static final int PTMINPOSITION
      The struct member offsets.
    • PTMAXPOSITION

      public static final int PTMAXPOSITION
      The struct member offsets.
    • RCNORMALPOSITION

      public static final int RCNORMALPOSITION
      The struct member offsets.
  • Constructor Details

    • WINDOWPLACEMENT

      public WINDOWPLACEMENT(ByteBuffer container)
      Creates a WINDOWPLACEMENT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details