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

InitResident

Initialize resident module

Declaration

Source position: exec.pas line 1789

function InitResident(

  resident: PResident;

  segList: Cardinal

):Pointer;

Arguments

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