ListView_GetImageList macro (commctrl.h)

Gets the handle to an image list used for drawing list-view items. You can use this macro or send the LVM_GETIMAGELIST message explicitly.

Syntax

void ListView_GetImageList(
   hwnd,
   iImageList
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

iImageList

Type: int

The 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.

Return value

None

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h