IMAGEPACK

Information pertaining to PutImage and GetImage.

Type
ULONG        ulLength; ULONG        ulFlags; ULONG        ulHandle; ULONG        ulID; ULONG        ulCmdMask; PIMAGEBUF    pPutBuf; PIMAGEBUF    pGetBuf; POINTL       ptlDstOrg; ULONG        ulDstXext; ULONG        ulDstYext; POINTL       ptlSrcOrg; ULONG        ulSrcXext; ULONG        ulSrcYext; ULONG        cVisRects; PRECTL       prctlVis; POINTL       ptlWBOrg; ULONG        cWBBytes; PBYTE        pVirtVRAM; ULONG        ulGrafXPar;

C Declaration Method
typedef struct

Example Code
 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; 