Unit 'exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

InitStruct

Initialize memory from a table

Declaration

Source position: exec.pas line 1773

procedure InitStruct(

  const InitTab: Pointer;

  Memory: Pointer;

  Size: LongWord

);

Arguments

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