get_menu_item_identity


unsigned get_menu_item_identity(handle menu,
                                int position)

This function obtains the identity of an item in a menu.

Parameters

handle menu

The handle of the menu containing the item.

int position

The 0-based offset (from the beginning of the menu) of the item.

Return

unsigned

0xffffffff An error occurred.
Other The identity of the item at the specified offset.

Notes

If the item at the specified position is a submenu, an error if flagged.