## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### IMAGEBUF

Characteristics describing an image.

    typedef struct _IMAGEBUF {

      ULONG            ulLength;        /*  Length of IMAGEBUF data structure, in bytes. */

      ULONG            ulFlags;         /*  Image buf flag. */

      ULONG            ulType;          /*  Flag indicating type of memory:  VRAM or system.  */

      PBYTE            pBits;           /*  Virtual address of the image. */

      ULONG            ulImgWidth;      /*  Image width, in pels. */

      ULONG            ulImgHeight;     /*  Image height, in pels. */

      ULONG            ulBytesPerScan;  /*  Bytes per scan line. */

      PCOLORINFO       pColorInfo;      /*  Color space of data in buffer. */

      PCODECINFO       pCodecInfo;      /*  Compression type of data in buffer. */

      PCUSTPALINFO     pCustPalInfo;    /*  Pointer to custom palette information. */

    } IMAGEBUF;

    typedef   IMAGEBUF   * PIMAGEBUF ;