Search for a resident segment by name and type.
Source position: amigados.pas line 2288
function FindSegmentTagList( |
tags: Pointer |
):PSegment; |
Will return the segment structure if a match is found, otherwise will return nil.
Search for a resident segment by name and type. FindSegmentTagList() will return the first segment that exactly matches the name and type.
You can continue searching by specifying the last returned segment as the seg argument.
Attention
FindSegmentTagList() does no locking of the segment list. You should lock yourself. FindSegmentTagList() also does not increment the value of the seg_UC field. If the value of seg_UC > 0, you must perform user counting in order to prevent the segment from being unloaded.
|
Adds a resident segment to the resident list |
|
|
Finds a segment on the resident list |
|
|
Removes a resident segment from the resident list |