LM_GETITEM message

Retrieves the states and attributes of an item.

Parameters

wParam

Must be **NULL**.

lParam

Pointer to a LITEM structure to be filled with information about the item.

Return value

Returns TRUE if the message succeeds in getting the values and attributes specified.

Remarks

With the LM_GETITEM message, links can only be accessed through the numeric index returned in the iLink member of LITEM. Accessing the link through the ID name returned in szID is not supported.

Note

To use this message, you must provide a manifest specifying Comclt32.dll version 6.0. For more information on manifests, see Enabling Visual Styles.

Requirements

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