Adds a program segment to the system resident list.
Source position: amigados.pas line 2285
function AddSegmentTagList( |
tags: Pointer |
):LongInt; |
tags |
|
pointer to a taglist |
= 0 failure, otherwise success
Adds a program segment to the system resident list. You can later use these segments to run programs.
The name field should refer to a #0 terminated strings, which will be copied. The type field determines the type of resident program. Normal programs should have type >= 0, system segments should have type = CMD_SYSTEM. The file name is only used if no seglist is given. It is the name of the file that will be loaded when someone tries to access this segment.
Note that all other values of ADDS_Type are reserved.
Available Tags
Uses Forbid() based locking.
|
Finds a segment on the resident list |
|
|
Removes a resident segment from the resident list |