Class NotificationBitmap

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class NotificationBitmap extends Struct<NotificationBitmap> implements NativeResource
Used for passing graphic data.

Layout


 struct NotificationBitmap_t {
     void * m_pImageData;
     int32_t m_nWidth;
     int32_t m_nHeight;
     int32_t m_nBytesPerPixel;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int M_PIMAGEDATA
      The struct member offsets.
    • M_NWIDTH

      public static final int M_NWIDTH
      The struct member offsets.
    • M_NHEIGHT

      public static final int M_NHEIGHT
      The struct member offsets.
    • M_NBYTESPERPIXEL

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

    • NotificationBitmap

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