GetMenuItemInfo function retrieves information about a menu item. Receives a menu handler (one we got from GetMenu or GetSubMenu) and a number (which is the location of the item within the given menu).
A hash in which there are currently 2 keys: type can be either "string" or "separator" - this is the type of the menu item text is the visible text of the menu item (provided only for "string" type) (TO DO: this description is not particularly clear)
Receives a menu handler (one we got from GetMenu or GetSubMenu) and a number (which is the location of the item within the given menu).