The ListView_ItemGetImage() function retrieves the item numbers of the images associated with the specified list view item.
ListView_ItemGetImage(list_view_field, item_index {, overlay_image})
• list_view_field – The list view field containing the specified item.
• item_index – A long integer specifying the list view item whose image item number is being retrieved.
• overlay_image – A long integer indicating the overlay image. This value corresponds to the item number of an item image in the ListView Images window. If no overlay image is associated with the item, the LV_NOIMAGE constant is returned.
An integer indicating the image. This value corresponds to the item number of an item image listed in the ListView Images window. If no image is associated with the item, the LV_NOIMAGE constant is returned.