pmenuitem (PMENUITEM)

      Menu-item data structure.

      This points to a MENUITEM structure.

    pszItemText (PSZ)

      Item text.

      This points to a string containing the text to be inserted.

    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] [Next]