Class MONITORINFOEX

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class MONITORINFOEX extends Struct<MONITORINFOEX> implements NativeResource

 struct MONITORINFOEX {
     DWORD cbSize;
     {@link RECT RECT} rcMonitor;
     {@link RECT RECT} rcWork;
     DWORD dwFlags;
     TCHAR szDevice[32];
 }
  • Field Details

    • SIZEOF

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

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

      public static final int CBSIZE
      The struct member offsets.
    • RCMONITOR

      public static final int RCMONITOR
      The struct member offsets.
    • RCWORK

      public static final int RCWORK
      The struct member offsets.
    • DWFLAGS

      public static final int DWFLAGS
      The struct member offsets.
    • SZDEVICE

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

    • MONITORINFOEX

      public MONITORINFOEX(ByteBuffer container)
      Creates a MONITORINFOEX 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