ImageList_Read(3w)

ImageList_Read3w

Usage

HIMAGELIST ImageList_Read
(
LPSTREAM pstm
)

Overview

Reads an image list from a stream.

Params

pstm [In] pointer to a stream.

Returns

Success: handle to image list

Failure: NULL.

The format is like this: ILHEAD ilheadstruct;.

for the color image part: BITMAPFILEHEADER bmfh; BITMAPINFOHEADER bmih; only if it has a palette: RGBQUAD rgbs[nr_of_paletted_colors];.

BYTE colorbits[imagesize];.

the following only if the ILC_MASK bit is set in ILHEAD.ilFlags: BITMAPFILEHEADER bmfh_mask; BITMAPINFOHEADER bmih_mask; only if it has a palette (it usually does not): RGBQUAD rgbs[nr_of_paletted_colors];.

BYTE maskbits[imagesize];

Implementation

Declared in "commctrl.h".

Implemented in "dlls/comctl32/imagelist.c".

Debug channel "imagelist".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.