DEVICES Types Reference

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

clipboard.h


struct ClipHookMsg

Source: devices/clipboard.h


struct ClipHookMsg {
    ULONG   chm_Type;       /* zero for this structure format */
    LONG    chm_ChangeCmd;  /* command that caused this hook invocation: */
                /*   either CMD_UPDATE or CBD_POST */
    LONG    chm_ClipID;     /* the clip identifier of the new data */
};

struct ClipboardUnitPartial

Source: devices/clipboard.h


struct ClipboardUnitPartial {
    struct Node cu_Node;    /* list of units */
    ULONG   cu_UnitNum;     /* unit number for this unit */
    /* the remaining unit data is private to the device */
};

struct IOClipReq

Source: devices/clipboard.h


struct IOClipReq {
    struct Message io_Message;
    struct Device *io_Device; /* device node pointer  */
    struct ClipboardUnitPartial *io_Unit; /* unit node pointer */
    UWORD   io_Command;     /* device command */
    UBYTE   io_Flags;       /* including QUICK and SATISFY */
    BYTE    io_Error;       /* error or warning num */
    ULONG   io_Actual;      /* number of bytes transferred */
    ULONG   io_Length;      /* number of bytes requested */
    STRPTR  io_Data;        /* either clip stream or post port */
    ULONG   io_Offset;      /* offset in clip stream */
    LONG    io_ClipID;      /* ordinal clip identifier */
};

struct SatisfyMsg

Source: devices/clipboard.h


struct SatisfyMsg {
    struct Message sm_Msg;   /* the length will be 6 */
    UWORD   sm_Unit;        /* which clip unit this is */
    LONG    sm_ClipID;      /* the clip identifier of the post */
};