## Graphics Adapter Device Driver Reference

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

### IMAGEPACK

Information pertaining to PutImage and GetImage.

    typedef struct _IMAGEPACK {

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

      ULONG         ulFlags;     /*  Image pack flag. */

      ULONG         ulHandle;    /*  Unique ID returned by VRAMREGISTEROUT. */

      ULONG         ulID;        /*  Unique buffer ID. */

      ULONG         ulCmdMask;   /*  Specific changes since the last frame. */

      PIMAGEBUF     pPutBuf;     /*  Used as source image in PutImage command. */

      PIMAGEBUF     pGetBuf;     /*  Used as destination image in GetImage command. */

      POINTL        ptlDstOrg;   /*  Destination origin (origin at upper left). */

      ULONG         ulDstXext;   /*  Destination X extent. */

      ULONG         ulDstYext;   /*  Destination Y extent. */

      POINTL        ptlSrcOrg;   /*  Offset into the source image. */

      ULONG         ulSrcXext;   /*  Source X extent. */

      ULONG         ulSrcYext;   /*  Source Y extent. */

      ULONG         cVisRects;   /*  Number of output visible rectangles. */

      PRECTL        prctlVis;    /*  Pointer to array of visible regions. */

      POINTL        ptlWBOrg;    /*  Origin of off-screen VRAM work buffer. */

      ULONG         cWBBytes;    /*  Number of bytes in the work buffer. */

      PBYTE         pVirtVRAM;   /*  A 32-bit virtual pointer to the start of VRAM. */

      ULONG         ulGrafXPar;  /*  Transparent color for overlay type devices. */

    } IMAGEPACK;

    typedef   IMAGEPACK   * PIMAGEPACK ;