In order to ensure the optimal size within the library when obtaining strings, does not use cchTextMax.
public TVIF mask { get; set; }
public IntPtr hItem { get; set; }
public TVIS state { get; set; }
public TVIS stateMask { get; set; }
public string pszText { get; set; }
public int iImage { get; set; }
public int iSelectedImage { get; set; }
public int cChildren { get; set; }
public IntPtr lParam { get; set; }
public int iIntegral { get; set; }
public int uStateEx { get; set; }
public IntPtr hwnd { get; set; }
public int iExpandedImage { get; set; }
public int iReserved { get; set; }
JR