XPLMMenuHandler_f

typedef void (* XPLMMenuHandler_f)(
                         void *               inMenuRef,    
                         void *               inItemRef);    

A menu handler function takes two reference pointers, one for the menu (specified when the menu was created) and one for the item (specified when the item was created).