The list box control window procedure responds to this message by copying up to smaxcount characters, as a null-terminated string, from the text of the item specified by sItemIndex into the buffer identified by pszItemText.
The length of the item text can be determined by using the LM_QUERYITEMTEXTLENGTH message.