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


   NAME
	FindProp -- search for a stored property chunk. (V36)

   SYNOPSIS
	sp = FindProp(iff, type, id);
	D0            A0   D0    D1

	struct StoredProperty *FindProp(struct IFFHandle *, LONG, LONG);

   FUNCTION
	Searches for the stored property which is valid in the given context.
	Property chunks are automatically stored by ParseIFF() when
	pre-declared by PropChunk() or PropChunks(). The StoredProperty
	struct, if found, contains a pointer to a data buffer containing the
	contents of the stored property.

   INPUTS
	iff - pointer to IFFHandle structure.
	type - type code for chunk to search for (ex. "ILBM").
	id - identifier code for chunk to search for (ex. "CMAP").

   RESULT
	sp - pointer to stored property, or NULL if none found.

   SEE ALSO
	PropChunk(), PropChunks(), <libraries/iffparse.h>


[Back to Amiga Developer Docs]