2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
6 #include "iffparse_intern.h"
8 /*****************************************************************************
11 #include <proto/iffparse.h>
13 AROS_LH1(void, InitIFFasClip
,
16 AROS_LHA(struct IFFHandle
*, iff
, A0
),
19 struct Library
*, IFFParseBase
, 40, IFFParse
)
22 Initializes the given IFFHandle to be a clipboard stream. It installs a
23 "custom" stream handler (via InitIFF) to handle clipboard streams.
24 The iff_Stream field of the iffhandle will still need
25 to be initializes with a ClipboardHandle struct returned from
29 iff - pointer to an IFFHandle struct.
44 *****************************************************************************/
48 DEBUG_INITIFFAS(dprintf("InitIFFasClip: entry\n"));
50 /* Initialize the DOS stream handler hook */
51 /* Clipboard streams are ALWAYS random seekable */
52 InitIFF(iff
, IFFF_RSEEK
, &(IPB(IFFParseBase
)->cliphook
));
54 DEBUG_INITIFFAS(dprintf("InitIFFasClip: done\n"));