ListView_GetItemState

The ListView_GetItemState macro retrieves the state of a list view item. You can use this macro or explicitly send the LVM_GETITEMSTATE message.

UINT WINAPI ListView_GetItemState(

HWND hwnd,  
int i,  
UINT mask  
);  

Parameters

hwnd

Handle to the list view control.

i

Index of the list view item.

mask

Mask that specifies which of the item's state flags to return.

Return Values

Returns the item's state flags.

See Also

LVM_GETITEMSTATE