LVM_GETITEMCOUNT message

Retrieves the number of items in a list-view control. You can send this message explicitly or by using the ListView_GetItemCount macro.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns the number of items.

Requirements

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