The LVM_DELETEALLITEMS message removes all items from a list view control. You can send this message explicitly or by using the ListView_DeleteAllItems macro.
LVM_DELETEALLITEMS wParam = 0; lParam = 0;
Returns TRUE if successful or FALSE otherwise.
When a list-view control receives the LVM_DELETEALLITEMS message, it sends the LVN_DELETEALLITEMS notification message to its parent window.