Scroll to navigation

ImageList_Read(3w) Wine API ImageList_Read(3w)

NAME

ImageList_Read (COMCTL32.@)

SYNOPSIS

HIMAGELIST ImageList_Read
(
LPSTREAM pstm
)
 

DESCRIPTION

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".
Oct 2012 Wine API