Unit 'Exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

InitStruct

Initialize memory from a table

Declaration

Source position: exec.pas line 1224

procedure InitStruct(

  const InitTable: Pointer;

  Memory: Pointer;

  Size: LongWord

);

Arguments

InitTable

  

The beginning of the commands and data to init Memory with. Must be on an even boundary unless only byte initialization is done.

Memory

  

The beginning of the memory to initialize. Must be on an even boundary if size is specified.

Size

  

The size of memory, which is used to clear it before initializing it via the initTable. If Size is zero, memory is not cleared before initializing. Must be an even number.

Description

Clear a memory area, then set up default values according to the data and offset values in the initTable.


Documentation generated on: 2021-07-30