12.5.2 LINEINF Structure

To obtain a pointer to the first LINEINF structure in the array for the line-definition structure, add the pLines pointer in the current LINEDEF structure
to the current LINEDEF pointer, as follows:

pLines = (LINEINF *)((BYTE *)pLineDef + pLineDef->pLines);

Each element in the line-information array contains the offset into the source file for a line and the offset into the executable file for the code resulting from the source line.

The LINEINF structure has the following form:

typedef struct {
    WORD wCodeOffset;   /* executable offset */
    WORD dwFileOffset;  /* source offset     */
} LINEINF;

Following are the members of the LINEINF structure:

wCodeOffset

Specifies the offset in this segment to the code resulting from compiling this line in the source file.

dwFileOffset

Specifies the offset to this line in the source file.