The LVM_GETITEMTEXT message retrieves the text of a list view item or subitem. You can send this message explicitly or by using the ListView_GetItemText macro.
LVM_GETITEMTEXT wParam = (WPARAM) (int) iItem; lParam = (LPARAM) (LV_ITEM FAR *) pitem;
If you send this message explicitly, it returns the length of the retrieved string.
If you can send this message implicitly by using the ListView_GetItemText macro, there is no return value.