Unit 'MUIClass.Base' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#MUIClass]

TMUIDataspace.WriteIFF

Writes the contents of a dataspace to an IFF handle of iffparse.library.

Declaration

Source position: MUIClass.Base.pas line 329

public function TMUIDataspace.WriteIFF(

  IFFHandle: Pointer;

  typ: LongWord;

  id: LongWord

):Integer;

Arguments

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

Function result

Returns 0 on success or some IFFERR_xxx on failure.

Description

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().

See also

ReadIFF

  

Adds the contents of an IFF handle from iffparse.library to the dataspace.


Documentation generated on: 2024-04-24