HRESULT FoldersTree_SetItemData(HWND hwnd, HTREEITEM hItem, void *ptr);
[in] HWND hwnd
Handle to the control.
[in] HTREEITEM hItem
Handle of the item.
[in] void *ptr
The value to set.
Sets the user data associated with an item of a FoldersTree control.
Do not use lParam member of TVITEM
struct to store
your data because it is used internally by FodlersTree control
implementation.
See also: FoldersTree_GetItemData, FoldersTree_SetData.