The ListView_ItemSetData() function sets the data item associated with the specified list view item.
ListView_ItemSetData(list_view_field, item_index, item_data)
• list_view_field – The list view field containing the specified item.
• item_index – A long integer specifying the list view item whose data item is being set.
• item_data – A long integer containing the data item.
A long integer containing the previous data item for the specified list view item.