Writes the contents of a dataspace to an IFF handle of iffparse.library.
Source position: MUIClass.Base.pas line 329
public function TMUIDataspace.WriteIFF( |
IFFHandle: Pointer; |
typ: LongWord; |
id: LongWord |
):Integer; |
IFFHandle |
|
pointer to a struct IFFHandle from iffparse.library/AllocIFF(). The handle must already be open and initialized for writing. |
typ |
|
type of chunk to create |
id |
|
ID of chunk to create |
Returns 0 on success or some IFFERR_xxx on failure.
In detail, a chunk with the specified type and id is created with PushChunk(), the contents of the dataspace are written with WriteChunkBytes() and the chunk is terminated with PopChunk().
|
Adds the contents of an IFF handle from iffparse.library to the dataspace. |