2 Copyright © 1995-2004, 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 *****************************************************************************/
47 AROS_LIBBASE_EXT_DECL(struct Library
*,IFFParseBase
)
49 DEBUG_INITIFFAS(dprintf("InitIFFasClip: entry\n"));
51 /* Initialize the DOS stream handler hook */
52 /* Clipboard streams are ALWAYS random seekable */
53 InitIFF(iff
, IFFF_RSEEK
, &(IPB(IFFParseBase
)->cliphook
));
55 DEBUG_INITIFFAS(dprintf("InitIFFasClip: done\n"));