CLASSES Types Reference

Per-function autodoc pages link to these types via the type name (e.g., [List](types-classes.md#list)).

Clickable inner types: inside each struct definition, field types that are themselves structs/unions/enums are clickable hyperlinks to their own definitions.

Contents

arexx.h


struct ARexxCmd

Source: classes/arexx.h


struct ARexxCmd
{
    STRPTR ac_Name;         /* Command name */
    UWORD ac_ID;            /* Unique ID */

    /* NOTE: The function pointed to by ac_Func() will be called
     *       with parameters in CPU registers. Register usage
     *       is as follows:
     *
     *       VOID ac_Func(struct ARexxCmd * cmd, struct RexxMsg * rm)
     *                                       A0                   A1
     */
    VOID (*ac_Func)();

    STRPTR ac_ArgTemplate;  /* DOS-style argument template */
    ULONG ac_Flags;         /* Unused, make NULL */
    ULONG *ac_ArgList;      /* Result of ReadArgs() */
    LONG ac_RC;             /* Primary result */
    LONG ac_RC2;            /* Secondary result */
    STRPTR ac_Result;       /* RESULT variable */
};

window.h


struct HintInfo

Source: classes/window.h


struct HintInfo
{
    WORD hi_GadgetID;   /* Gadget ID this hint belongs to, -1 indicates end. */
    WORD hi_Code;       /* Code required for this gadget, or -1 if it doesn't matter. */
    STRPTR hi_Text;     /* The text of the hint.. */
    ULONG hi_Flags;     /* Flags, currently unsupported and must be set to 0L. */
};