[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


NAME
    OpenClipboard -- Create a handle on a clipboard unit.

SYNOPSIS
    ch = OpenClipboard (unit)
    d0                   d0

    struct ClipboardHandle   *ch;
    LONG                    unit;

FUNCTION
    Opens the clipboard.device and opens a stream for the specified unit
    (usually PRIMARY_CLIP).  This handle structure will be used as the
    clipboard stream for IFFHandles initialized as clipboard streams by
    InitIFFasClip().

INPUTS
    unit    - clipboard unit number (usually PRIMARY_CLIP).

RESULT
    ch      - pointer to ClipboardHandle structure or NULL if
              unsuccessful.

EXAMPLE

NOTES

BUGS

SEE ALSO
    InitIFFasClip(), CloseClipboard()


[Back to Amiga Developer Docs]