Class GPU_DEVICE

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class GPU_DEVICE extends Struct<GPU_DEVICE> implements NativeResource

 struct GPU_DEVICE {
     DWORD cb;
     CHAR DeviceName[32];
     CHAR DeviceString[128];
     DWORD Flags;
     {@link RECT RECT} rcVirtualScreen;
 }
  • Field Details

    • SIZEOF

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

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

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

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

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

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

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

    • GPU_DEVICE

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