LBR$Delete

LBR ››
Parent Previous Next

LBR$Delete

Delete a module


LBR$Delete deletes a module from an open library file.


Format:

LBR$Delete context name


Returns:

Returns a condition code.


Arguments:

context

The address of a 64-bit context value returned by LBR$INI_CONTROL that indicates the library to close.


name

The name of the module to delete. This is the address of a TSRB structure that points to the name of the module.


Description

Deletes the specified module from the library.


Condition Codes Returned:

Code

Meaning

LBR_ILLCTL

Specified context is not valid.

LBR_LIBNOTOPN

Specified library is not open.

LBR_NOTFOUND

Specified module does not exist.

SS_NORMAL

Successful completion.