Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 575 Bytes

RemSegment.md

File metadata and controls

32 lines (19 loc) · 575 Bytes

NAME

RemSegment - Removes a resident segment from the resident list (V36)

SYNOPSIS

    success = RemSegment(segment)
    D0                      D1

    BOOL RemSegment(struct Segment *)

Links: Segment

FUNCTION

Removes a resident segment from the Dos resident segment list, unloads it, and does any other cleanup required. Will only succeed if the seg_UC (usecount) is 0.

INPUTS

segment - the segment to be removed

RESULT success - success or failure.

SEE ALSO

FindSegment, AddSegment