int ok = GetMenuAttributes(APTR display, struct hwMenuTreeInfo *item,
ULONG *flags, struct hwTagList *tags);
HWEXT_DISPLAYADAPTER_MENUADAPTER
extension bit has been set. See Extension plugins for details. If that is
the case, GetMenuAttributes() will be called by Hollywood to find out
if the menu item specified by item is selected or disabled. You need
to write the result to the flags pointer.
The following menu item flags are recognized by GetMenuAttributes():
HWMENUFLAGS_SELECTED:
HWMENUFLAGS_DISABLED:
If the menu item is neither selected nor disabled, write 0 to flags.
NULLTrue to indicate success, False to indicate failure