int ok = SetMenuAttributes(APTR display, struct hwMenuTreeInfo *item, ULONG setflags, ULONG clrflags, struct hwTagList *tags);
HWEXT_DISPLAYADAPTER_MENUADAPTER
extension bit has been set. See Extension plugins for details. If that is
the case, SetMenuAttributes()
will be called by Hollywood to select or
deselect a menu item or to enable or disable it. The menu item to be
modified will be passed in the item
parameter. The setflags
parameter
indicates which menu item flags should be set and the clrflags
parameter
indiciates which menu item flags should be cleared.
The following menu item flags are recognized by SetMenuAttributes()
:
HWMENUFLAGS_SELECTED:
HWMENUFLAGS_DISABLED:
NULL
True
to indicate success, False
to indicate failure