[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()