MM_INSERTITEM Return Value - sIndexInserted
sIndexInserted
(
SHORT
)
Index of inserted item.
MIT_MEMERROR
The menu control cannot allocate space to insert the menu item in the menu.
MIT_ERROR
An error other than MIT_MEMERROR occurred.
Other
The zero-based index of the offset of the item within the menu.
[Back: MM_INSERTITEM Field - pszItemText]
[Next: MM_INSERTITEM - Parameters]