###User Defined Function###
_GUICtrlListView_GetItemState

###Description###
Retrieves the state of a listview item

###Syntax###
#include <GuiListView.au3>
_GUICtrlListView_GetItemState ( $hWnd, $iIndex, $iMask )


###Parameters###
@@ParamTable@@
$hWnd
	Control ID/Handle to the control
$iIndex
	0-based index of the item
$iMask
	State information to retrieve. This can be a combination of:
		$LVIS_CUT - The item is marked for a cut-and-paste operation
		$LVIS_DROPHILITED - The item is highlighted as a drag-and-drop target
		$LVIS_FOCUSED - The item has the focus, so it is surrounded by a standard focus rectangle
		$LVIS_SELECTED - The item is selected
		$LVIS_OVERLAYMASK - Use this mask to retrieve the item's overlay image index
		$LVIS_STATEIMAGEMASK - Use this mask to retrieve the item's state image index
@@End@@

###ReturnValue###
Returns the current state for the specified item.


###Remarks###
An items state information includes a set of bit flags as well as image list indexes that indicate the item's state image and overlay image


###Related###
_GUICtrlListView_SetItemState


###Example###
@@IncludeExample@@
