LIBMOD

LIBMOD  STRUC
    lmRecordType    db 88h          ; COMENT record
    lmLength        dw ?            ; length of record
    lmAttribute     db ?            ; attributes
    lmClass         db 0A3h         ; comment class
    lmModuleName    db ? dup(?)     ; module name (var-length)
LIBMOD  ENDS

The LIBMOD record specifies the name of an object module. Microsoft Library Manager (LIB) uses this record to preserve the module name of the object module while storing the filename of the module's original source file in the THEADR record.

Members

lmRecordType

Specifies the record type. This member must be 88h.

lmLength

Specifies the length of the record.

lmAttribute

Specifies the record attributes. These are as defined for the COMENT record.

lmClass

Specifies the comment class. This member must be 0A3h.

lmModuleName

Contains the character string defining the module name. The first byte of the member specifies the number of characters in the name. The module name does not include a path or extension.

Comments

The LIBMOD record is used only by LIB and not by LINK. LIB adds a LIBMOD record when an .OBJ file is added to a library and strips the LIBMOD record when an .OBJ file is removed from a library. In general, a library file contains one LIBMOD record for each object module that was combined to build the library.