IMAGEBUF

Type
ULONG           ulLength; ULONG           ulFlags; ULONG           ulType; PBYTE           pBits; ULONG           ulImgWidth; ULONG           ulImgHeight; ULONG           ulBytesPerScan; PCOLORINFO      pColorInfo; PCODECINFO      pCodecInfo; PCUSTPALINFO    pCustPalInfo;

C Declaration Method
typedef struct

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