The menu 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 usitem, if it has the style MIS_TEXT, into the buffer specified by pszItemText.
The length of the item text can be determined by using the MM_QUERYITEMTEXTLENGTH message.