LVM_GETIMAGELIST message

Retrieves the handle to an image list used for drawing list-view items. You can send this message explicitly or by using the ListView_GetImageList macro.

Parameters

wParam

Image list to retrieve. This parameter can be one of the following values:

Value Meaning
LVSIL_NORMAL
Image list with large icons.
LVSIL_SMALL
Image list with small icons.
LVSIL_STATE
Image list with state images.
LVSIL_GROUPHEADER
Image list for group header.

lParam

Must be zero.

Return value

Returns the handle to the specified image list if successful, or NULL otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h