NAME

ImageList_Read  (COMCTL32.@)

SYNOPSIS

 HIMAGELIST ImageList_Read
 (
  IStream* 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 "include/commctrl.h". gitlab.winehq.org/wine/wine/blob/master/include/commctrl.h

Implemented in "dlls/comctl32/imagelist.c". gitlab.winehq.org/wine/wine/blob/master/dlls/comctl32/imagelist.c

Debug channel "imagelist".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.