Class DISPLAY_DEVICE

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class DISPLAY_DEVICE extends Struct<DISPLAY_DEVICE> implements NativeResource

 struct DISPLAY_DEVICE {
     DWORD cb;
     TCHAR DeviceName[32];
     TCHAR DeviceString[128];
     DWORD StateFlags;
     TCHAR DeviceID[128];
     TCHAR DeviceKey[128];
 }
  • Field Details Link icon

    • SIZEOF Link icon

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

      public static final int ALIGNOF
      The struct alignment in bytes.
    • CB Link icon

      public static final int CB
      The struct member offsets.
    • DEVICENAME Link icon

      public static final int DEVICENAME
      The struct member offsets.
    • DEVICESTRING Link icon

      public static final int DEVICESTRING
      The struct member offsets.
    • STATEFLAGS Link icon

      public static final int STATEFLAGS
      The struct member offsets.
    • DEVICEID Link icon

      public static final int DEVICEID
      The struct member offsets.
    • DEVICEKEY Link icon

      public static final int DEVICEKEY
      The struct member offsets.
  • Constructor Details Link icon

    • DISPLAY_DEVICE Link icon

      public DISPLAY_DEVICE(ByteBuffer container)
      Creates a DISPLAY_DEVICE 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 Link icon