ImageList_GetImageInfo

This function retrieves information about an image.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

BOOL WINAPI ImageList_GetImageInfo(HIMAGELIST himl, int i, IMAGEINFO FAR* pImageInfo);

Parameters

himl

[in] Handle to the image list.

i

[in] Index of the image.

pImageInfo

[out] Pointer to an IMAGEINFO structure that receives information about the image. The information in this structure can be used to directly manipulate the bitmaps for the image.

Return Values

Nonzero indicates success. Zero indicates failure.