Docs » Autodocs » dos.library » RemSegment
RemSegment - Removes a resident segment from the resident list (V36)
success = RemSegment(segment) D0 D1 BOOL RemSegment(struct Segment *)
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.
segment - the segment to be removed
success - success or failure.
FindSegment(), AddSegment()
|