Retrieves some or all of a tree-view item's state attributes. You can send this message explicitly or by using the TreeView_GetItemState macro.
Handle to the item.
Mask used to specify the states to query for. It is equivalent to the stateMask member of TVITEMEX.
Returns a UINT value with the appropriate state bits set to TRUE. Only those bits that are specified by lParam and that are TRUE will be set. This value is equivalent to the state member of TVITEMEX.
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2003 [desktop apps only]