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

InitResident

Initialize resident module

Declaration

Source position: exec.pas line 1784

function InitResident(

  const Resident_: PResident;

  SegList: LongWord

):Pointer;

Arguments

Resident_

  

Pointer to a ROMTag

SegList

  

SegList of the loaded object, if loaded from disk. Libraries and Devices will cache this value for later return at close or expunge time. Pass nil for ROM modules.

Function result

Return value from the init code, usually the library or device base. Nil for failure.

Description

Initialize a ROMTag. ROMTags are used to link system modules together. Each disk based device or library must contain a ROMTag structure in the first code hunk.

Errors

FindResident


Documentation generated on: 2021-07-30