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


   NAME
        PropChunk -- specify a property chunk to store. (V36)

   SYNOPSIS
        error = PropChunk(iff, type, id);
        D0                A0   D0    D1

        long propchunk(struct iffhandle *, long, long);

   FUNCTION
        Installs an entry handler for chunks with the given type and ID so
        that the contents of those chunks will be stored as they are
        encountered. The storage of these chunks follows the property chunk
        scoping rules for IFF files so that at any given point, a stored
        property chunk returned by findprop() will be the valid property for
        the current context.

   INPUTS
        iff - pointer to iffhandle structure (does not need to be open).
        type - type code for the chunk to declare (ex. "ILBM").
        id - identifier for the chunk to declare (ex. "CMAP").

   RESULT
        error - 0 if successful or an IFFERR_#? error code if unsuccessful.

   SEE ALSO
        propchunks(), findprop(), collectionchunk(), <libraries/iffparse.h>