int ok = SetTrayMenu(APTR handle, struct hwMenuTreeInfo *menu,
struct hwTagList *tags);
HWEXT_DISPLAYADAPTER_TRAYMENU
extension bit has been set. See Extension plugins for details. If that is
the case, it must set the tray menu to the one passed in the menu parameter
which is a struct hwMenuTreeInfo pointer which contains all nodes and leaves
of the menu. See SetMenuBar for a description of this structure.
Whenever the user selects a menu item, you need to post an HWEVT_MENUITEM
event to Hollywood's event queue. See hw_PostEvent for details.
Note that if you want Hollywood to call this function, you also must set
the HWSDAFLAGS_SETTRAYMENU flag in your call to hw_SetDisplayAdapter().
See hw_SetDisplayAdapter for details.
NULL