ICON Types Reference

Per-function autodoc pages link to these types via the type name (e.g., [List](types-icon.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

icon.h


startup.h


IconIdentifyMsg

Source: workbench/icon.h


struct IconIdentifyMsg
{
    /* Libraries that are already opened for your use. */
    struct Library *  iim_SysBase;
    struct Library *  iim_DOSBase;
    struct Library *  iim_UtilityBase;
    struct Library *  iim_IconBase;

    /* File context information. */
    BPTR            iim_FileLock;   /* Lock on the object to return an icon for. */
    BPTR            iim_ParentLock; /* Lock on the object's parent directory, if available. */
    struct FileInfoBlock *   iim_FIB;    /* Already initialized for you. */
    BPTR            iim_FileHandle; /* If non-NULL, pointer to the file to examine,
                         * positioned right at the first byte, ready
                         * for you to use.
                         */
    struct TagItem *   iim_Tags;   /* Tags passed to GetIconTagList(). */
};


WBArg

Source: workbench/startup.h


struct WBArg {
    BPTR        wa_Lock;    /* a lock descriptor */
    STRPTR      wa_Name;    /* a string relative to that lock */
};


WBStartup

Source: workbench/startup.h


struct WBStartup {
    struct Message    sm_Message; /* a standard message structure */
    struct MsgPort *  sm_Process; /* the process descriptor for you */
    BPTR        sm_Segment; /* a descriptor for your code */
    LONG        sm_NumArgs; /* the number of elements in ArgList */
    STRPTR      sm_ToolWindow;  /* description of window */
    struct WBArg *    sm_ArgList; /* the arguments themselves */
};